summaryrefslogtreecommitdiff
path: root/remux.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-01-20 12:19:42 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-01-20 12:19:42 +0100
commitabde1d04aeb7beb29c2638389c29ff92ff87a75a (patch)
treeb78e7bc304c9b43564eca4dffd1913ff8492a3c6 /remux.h
parentdb98ecf54e7bbefe2c8649d7a8615bb83d0fb70c (diff)
downloadvdr-abde1d04aeb7beb29c2638389c29ff92ff87a75a.tar.gz
vdr-abde1d04aeb7beb29c2638389c29ff92ff87a75a.tar.bz2
Improved cutting MPEG-2 video
Diffstat (limited to 'remux.h')
-rw-r--r--remux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/remux.h b/remux.h
index 19f94797..67eda4c6 100644
--- a/remux.h
+++ b/remux.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: remux.h 2.36 2012/11/19 10:22:28 kls Exp $
+ * $Id: remux.h 2.37 2013/01/20 11:43:59 kls Exp $
*/
#ifndef __REMUX_H
@@ -217,6 +217,8 @@ private:
int length;
int pid;
int index; // points to the next byte to process
+protected:
+ void Reset(void) { index = 0; }
public:
cTsPayload(void);
cTsPayload(uchar *Data, int Length, int Pid = -1);