summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-02-06 13:49:13 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-02-06 13:49:13 +0100
commitd824e95704f374e18768eb7ca3abf8ac053185d9 (patch)
tree76f157f92866e736a63c3f39dab590d7f2ec6367 /device.c
parente57611dfd37ddbaf667bda5fa420bd1cc10b0793 (diff)
downloadvdr-d824e95704f374e18768eb7ca3abf8ac053185d9.tar.gz
vdr-d824e95704f374e18768eb7ca3abf8ac053185d9.tar.bz2
Calling pesAssembler->Reset() in cDevice::AttachPlayer() to avoid problems with residual data in replay and Transfer Mode
Diffstat (limited to 'device.c')
-rw-r--r--device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/device.c b/device.c
index a690cb1c..ebd59504 100644
--- a/device.c
+++ b/device.c
@@ -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;