mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added PlayPes(NULL, 0) to cTransfer::Action() when clearing the transfer buffer
This commit is contained in:
parent
211565c034
commit
039cdaecb5
@ -1114,6 +1114,8 @@ Marco Schl
|
|||||||
for implementing displaying mandatory subtitles in the SPU decoder
|
for implementing displaying mandatory subtitles in the SPU decoder
|
||||||
for pointing out a problem with canceling the LIRC thread
|
for pointing out a problem with canceling the LIRC thread
|
||||||
for a patch that implements substream handling into cDevice::PlayPesPacket()
|
for a patch that implements substream handling into cDevice::PlayPesPacket()
|
||||||
|
for pointing out that PlayPes(NULL, 0) needs to be called in cTransfer::Action()
|
||||||
|
when clearing the transfer buffer to avoid overflows
|
||||||
|
|
||||||
Jürgen Schmitz <j.schmitz@web.de>
|
Jürgen Schmitz <j.schmitz@web.de>
|
||||||
for reporting a bug in displaying the current channel when switching via the SVDRP
|
for reporting a bug in displaying the current channel when switching via the SVDRP
|
||||||
|
2
HISTORY
2
HISTORY
@ -3330,3 +3330,5 @@ Video Disk Recorder Revision History
|
|||||||
to Marco Schlüßler for a patch that implements substream handling into
|
to Marco Schlüßler for a patch that implements substream handling into
|
||||||
cDevice::PlayPesPacket(), and Reinhard Nissl for adding substream handling to
|
cDevice::PlayPesPacket(), and Reinhard Nissl for adding substream handling to
|
||||||
cDolbyRepacker).
|
cDolbyRepacker).
|
||||||
|
- Added PlayPes(NULL, 0) to cTransfer::Action() when clearing the transfer buffer
|
||||||
|
to avoid overflows (thanks to Marco Schlüßler for pointing this out).
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: transfer.c 1.24 2005/01/16 15:12:58 kls Exp $
|
* $Id: transfer.c 1.25 2005/01/23 14:27:40 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "transfer.h"
|
#include "transfer.h"
|
||||||
@ -100,6 +100,7 @@ void cTransfer::Action(void)
|
|||||||
dsyslog("clearing transfer buffer to avoid overflows");
|
dsyslog("clearing transfer buffer to avoid overflows");
|
||||||
ringBuffer->Clear();
|
ringBuffer->Clear();
|
||||||
remux->Clear();
|
remux->Clear();
|
||||||
|
PlayPes(NULL, 0);
|
||||||
p = NULL;
|
p = NULL;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user