summaryrefslogtreecommitdiff
path: root/remux.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-02-12 10:59:03 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-02-12 10:59:03 +0100
commitd1fb8d586d1d51028bd7d555ee63d40d27449fb5 (patch)
tree39ed84c70c4099c5559585b424a85640effe2784 /remux.c
parentefa21784300609c97453c8d4a9ff69234a02e029 (diff)
downloadvdr-d1fb8d586d1d51028bd7d555ee63d40d27449fb5.tar.gz
vdr-d1fb8d586d1d51028bd7d555ee63d40d27449fb5.tar.bz2
Forcing a new resync after a call to cRemux::Clear()
Diffstat (limited to 'remux.c')
-rw-r--r--remux.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/remux.c b/remux.c
index 49bd8989..ea935cc9 100644
--- a/remux.c
+++ b/remux.c
@@ -11,7 +11,7 @@
* The cDolbyRepacker code was originally written by Reinhard Nissl <rnissl@gmx.de>,
* and adapted to the VDR coding style by Klaus.Schmidinger@cadsoft.de.
*
- * $Id: remux.c 1.28 2005/02/05 11:56:42 kls Exp $
+ * $Id: remux.c 1.29 2005/02/12 10:57:50 kls Exp $
*/
#include "remux.h"
@@ -1007,6 +1007,8 @@ void cRemux::Clear(void)
for (int t = 0; t < numTracks; t++)
ts2pes[t]->Clear();
resultBuffer->Clear();
+ synced = false;
+ skipped = 0;
}
void cRemux::SetBrokenLink(uchar *Data, int Length)