1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Calling pesAssembler->Reset() in cDevice::AttachPlayer() to avoid problems with residual data in replay and Transfer Mode

This commit is contained in:
Klaus Schmidinger 2005-02-06 13:49:13 +01:00
parent e57611dfd3
commit d824e95704
3 changed files with 7 additions and 1 deletions

View File

@ -269,6 +269,8 @@ Werner Fink <werner@suse.de>
for pointing out an error in masking SubStreamType in cDevice::PlayPesPacket()
for pointing out that the "pre 1.3.19" compatibility mode for old Dolby Digital
recordings can be triggered in the default branch
for pointing out that pesAssembler->Reset() needs to be called between subsequent
Transfer Modes
Rolf Hakenes <hakenes@hippomi.de>
for providing 'libdtv' and adapting the EIT mechanisms to it

View File

@ -3369,3 +3369,6 @@ Video Disk Recorder Revision History
- Making sure the "Mute" and "Volume+/-" keys don't interfere with digital audio.
- Fixed the "pre 1.3.19" compatibility mode for old Dolby Digital recordings (thanks
to Werner Fink for pointing out that this can be triggered in the default branch).
- Calling pesAssembler->Reset() in cDevice::AttachPlayer() to avoid problems with
residual data in replay and Transfer Mode (thanks to Werner Fink for pointing this
out).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: device.c 1.85 2005/02/06 13:13:31 kls Exp $
* $Id: device.c 1.86 2005/02/06 13:42:54 kls Exp $
*/
#include "device.h"
@ -783,6 +783,7 @@ bool cDevice::AttachPlayer(cPlayer *Player)
if (player)
Detach(player);
ClrAvailableTracks();
pesAssembler->Reset();
player = Player;
SetPlayMode(player->playMode);
player->device = this;