summaryrefslogtreecommitdiff
path: root/demux.h
blob: 11e0b91763b80a7e3bbe70cb473f6936733e7185 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * demux.h: A plugin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *
 * $Id$
 */

#ifndef __demux_h_
#define __demux_h_

#include "global.h"
#include "ts2pes.h"
#include "pes2audioes.h"

class cMarkAdDemux
{
private:
    cMarkAdTS2PES *ts2pes;
    cMarkAdPES2AudioES *pes2audioes;
    uchar *pespkt;
    uchar *pesptr; // pointer into pespkt
    int peslen;
public:
    cMarkAdDemux();
    ~cMarkAdDemux();
    int Process(int Pid, uchar *Data, int Count, uchar **Pkt, int *PktLen);
};

#endif