From abde1d04aeb7beb29c2638389c29ff92ff87a75a Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 20 Jan 2013 12:19:42 +0100 Subject: Improved cutting MPEG-2 video --- remux.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'remux.h') 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); -- cgit v1.2.3