Forcing a new resync after a call to cRemux::Clear()

This commit is contained in:
Klaus Schmidinger 2005-02-12 10:59:03 +01:00
parent efa2178430
commit d1fb8d586d
3 changed files with 5 additions and 1 deletions

View File

@ -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 <j.schmitz@web.de>
for reporting a bug in displaying the current channel when switching via the SVDRP

View File

@ -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).

View File

@ -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)