summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-10-23 10:18:01 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-10-23 10:18:01 +0200
commit8ed9becabc8bb8d0be5a928ebb88398f6eb8a72f (patch)
tree7f2e7a4f0c8a2ff71ce1bb1239774983235b7a88 /device.c
parent41669352b7f1e7a9f292b0c663441c8905c8cd8f (diff)
downloadvdr-8ed9becabc8bb8d0be5a928ebb88398f6eb8a72f.tar.gz
vdr-8ed9becabc8bb8d0be5a928ebb88398f6eb8a72f.tar.bz2
Fixed attaching a cPlayer to a cDevice
Diffstat (limited to 'device.c')
-rw-r--r--device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/device.c b/device.c
index b53c0ab2..5a57faf8 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.60 2004/10/17 09:39:10 kls Exp $
+ * $Id: device.c 1.61 2004/10/23 10:15:31 kls Exp $
*/
#include "device.h"
@@ -595,8 +595,8 @@ bool cDevice::AttachPlayer(cPlayer *Player)
if (player)
Detach(player);
player = Player;
- player->device = this;
SetPlayMode(player->playMode);
+ player->device = this;
player->Activate(true);
return true;
}