diff options
author | Jochen Dolze <vdr@dolze.de> | 2011-01-29 15:58:36 +0100 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2011-01-29 15:58:36 +0100 |
commit | 70d113055698c6b73c8ed13af8a9e2f3b38ab1f0 (patch) | |
tree | d5264ada5b3a1366ca2404468dd57c6ea62a6349 /command/markad-standalone.h | |
parent | 9e964370ba635f57df44a96506fc4bf633004a86 (diff) | |
download | vdr-plugin-markad-70d113055698c6b73c8ed13af8a9e2f3b38ab1f0.tar.gz vdr-plugin-markad-70d113055698c6b73c8ed13af8a9e2f3b38ab1f0.tar.bz2 |
Rewrite of demux/marks recognition (still incomplete)
Diffstat (limited to 'command/markad-standalone.h')
-rw-r--r-- | command/markad-standalone.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/command/markad-standalone.h b/command/markad-standalone.h index 78f0ea9..6f7797d 100644 --- a/command/markad-standalone.h +++ b/command/markad-standalone.h @@ -26,7 +26,6 @@ #define MAXRANGE 420 /* range to search for start/stop marks in seconds */ - class cOSDMessage { private: @@ -156,19 +155,19 @@ unsigned Descriptor_Length: 8; }; + enum { mSTART=0x1, mBEFORE, mAFTER }; + static const char frametypes[8]; const char *directory; - cMarkAdDemux *video_demux; - cMarkAdDemux *ac3_demux; - cMarkAdDemux *mp2_demux; + cDemux *demux; cMarkAdDecoder *decoder; cMarkAdVideo *video; cMarkAdAudio *audio; cMarkAdStreamInfo *streaminfo; cOSDMessage *osd; - MarkAdPacket vpkt,apkt; + AvPacket pkt; MarkAdContext macontext; @@ -214,7 +213,7 @@ unsigned Descriptor_Length: int iStop; // posttimer as index value int iStopCheck; // check position for iStop - int errcnt; // Skipped bytes in stream + int skipped; // Skipped bytes in whole file bool setAudio51; // set audio to 5.1 in info bool setAudio20; // set audio to 2.0 in info |