diff options
author | Jochen Dolze <vdr@dolze.de> | 2010-05-25 19:23:47 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2010-05-25 19:23:47 +0200 |
commit | 4c668726b7de321f0411064dcb286ed6ad05a307 (patch) | |
tree | 4c7556b13b9042e3b4f3478d1a0dbc56f4392193 /command/vdr2pkt.cpp | |
parent | bfdd9d54165fc1d9897d71d8b9c94c32291e882c (diff) | |
download | vdr-plugin-markad-4c668726b7de321f0411064dcb286ed6ad05a307.tar.gz vdr-plugin-markad-4c668726b7de321f0411064dcb286ed6ad05a307.tar.bz2 |
Added Clear()-function to demuxer,paket classes
Added marks DelAll, DelTill functions
Diffstat (limited to 'command/vdr2pkt.cpp')
-rw-r--r-- | command/vdr2pkt.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/command/vdr2pkt.cpp b/command/vdr2pkt.cpp index 8d5a18f..c7f0ffd 100644 --- a/command/vdr2pkt.cpp +++ b/command/vdr2pkt.cpp @@ -17,6 +17,11 @@ cMarkAdVDR2Pkt::~cMarkAdVDR2Pkt() if (queue) delete queue; } +void cMarkAdVDR2Pkt::Clear() +{ + if (queue) queue->Clear(); +} + void cMarkAdVDR2Pkt::Process(MarkAdPid Pid, uchar *VDRData, int VDRSize, uchar **PktData, int *PktSize) { if ((!PktData) || (!PktSize) || (!queue)) return; |