summaryrefslogtreecommitdiff
path: root/command/demux.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2011-04-11 22:33:16 +0200
committerJochen Dolze <vdr@dolze.de>2011-04-11 22:33:16 +0200
commitafc27021e3c8542f7a966ea732e30212b786b923 (patch)
tree32646ba3cf306c79b4410d7c43e2af3adda27ec7 /command/demux.h
parent0b6cc044f9f44af88d8f115204cdae0b7dddd23c (diff)
downloadvdr-plugin-markad-afc27021e3c8542f7a966ea732e30212b786b923.tar.gz
vdr-plugin-markad-afc27021e3c8542f7a966ea732e30212b786b923.tar.bz2
Sorting of logo list added
New MTV3 logo Changed demuxer to return raw packets
Diffstat (limited to 'command/demux.h')
-rw-r--r--command/demux.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/command/demux.h b/command/demux.h
index 72dd453..ba71e30 100644
--- a/command/demux.h
+++ b/command/demux.h
@@ -21,6 +21,8 @@ typedef unsigned char uchar;
#define PACKET_AUDIO 0x20
#define PACKET_AC3 0x20
#define PACKET_MP2 0x21
+#define PACKET_TS 0x30
+#define PACKET_PES 0x40
typedef struct AvPacket
{
@@ -327,6 +329,8 @@ private:
int from_oldfile;
int last_bplen;
+ bool raw;
+
bool vdrcount;
int vdroffset;
bool vdraddpatpmt(uchar *data, int count);
@@ -345,10 +349,14 @@ private:
bool isvideopes(uchar *data, int count);
int fillqueue(uchar *data, int count, int &stream_or_pid, int &packetsize, int &readout);
public:
- cDemux(int VPid, int DPid, int APid, bool H264=false, bool VDRCount=false);
+ cDemux(int VPid, int DPid, int APid, bool H264=false, bool VDRCount=false, bool RAW=false);
~cDemux();
void DisableDPid();
void Clear();
+ bool Empty()
+ {
+ return queue ? (queue->Length()==0) : true;
+ }
int Skipped();
void NewFile();
uint64_t Offset()