summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-02-17 16:04:52 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-02-17 16:04:52 +0100
commit0b481b18e285b057d5d5005b2adebf53a91c5b7f (patch)
tree0e64f7449511d4c65f540772366b0e5f306fb17c /device.c
parent31a0318de43966ec3d06139492e8b39dcafc7eac (diff)
downloadvdr-0b481b18e285b057d5d5005b2adebf53a91c5b7f.tar.gz
vdr-0b481b18e285b057d5d5005b2adebf53a91c5b7f.tar.bz2
Fixed setting the current subtitle track in Transfer-Mode
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 aaa02540..10f6ec0d 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.153 2008/02/16 13:52:11 kls Exp $
+ * $Id: device.c 1.154 2008/02/17 15:55:06 kls Exp $
*/
#include "device.h"
@@ -1159,7 +1159,7 @@ bool cDevice::Replaying(void) const
bool cDevice::Transferring(void) const
{
- return dynamic_cast<cTransfer *>(player) != NULL;
+ return ActualDevice() != PrimaryDevice();
}
bool cDevice::AttachPlayer(cPlayer *Player)