diff --git a/CONTRIBUTORS b/CONTRIBUTORS index b5a150fa..3411ef5f 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1135,6 +1135,7 @@ Marco Schl for pointing out that PlayPes(NULL, 0) needs to be called in cTransfer::Action() when clearing the transfer buffer to avoid overflows for adding CMD_SPU_CHG_COLCON to cDvbSpuDecoder::setTime() + for suggesting to force a new resync after a call to cRemux::Clear() Jürgen Schmitz for reporting a bug in displaying the current channel when switching via the SVDRP diff --git a/HISTORY b/HISTORY index f5668efe..414f7c75 100644 --- a/HISTORY +++ b/HISTORY @@ -3387,3 +3387,4 @@ Video Disk Recorder Revision History - Fixed handling symbolic links in cRecordings::ScanVideoDir() (thanks to Stefan Huelswitt). - Completed the Danish OSD texts (thanks to Mogens Elneff). +- Forcing a new resync after a call to cRemux::Clear() (suggested by Marco Schlüßler). 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 , * 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)