summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-24 14:14:41 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-24 14:14:41 +0100
commitf40a6e9b85065badb97b1b9c43d56b0e8a8da26f (patch)
tree2b18c2c7f912fba52ea96f95d6cdd46ce29d0be7 /device.c
parentb4962e521726d912b001ddc99135ef98804f5cb6 (diff)
downloadvdr-f40a6e9b85065badb97b1b9c43d56b0e8a8da26f.tar.gz
vdr-f40a6e9b85065badb97b1b9c43d56b0e8a8da26f.tar.bz2
Fixed setting the audio language codes in 'Transfer-Mode'
Diffstat (limited to 'device.c')
-rw-r--r--device.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/device.c b/device.c
index 6a03ade0..5eaa8ac2 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.123 2006/02/04 14:58:24 kls Exp $
+ * $Id: device.c 1.124 2006/02/24 14:05:26 kls Exp $
*/
#include "device.h"
@@ -934,10 +934,10 @@ bool cDevice::AttachPlayer(cPlayer *Player)
if (CanReplay()) {
if (player)
Detach(player);
- if (!Transferring())
- ClrAvailableTracks();
pesAssembler->Reset();
player = Player;
+ if (!Transferring())
+ ClrAvailableTracks();
SetPlayMode(player->playMode);
player->device = this;
player->Activate(true);