diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2008-02-17 16:04:52 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2008-02-17 16:04:52 +0100 |
commit | 0b481b18e285b057d5d5005b2adebf53a91c5b7f (patch) | |
tree | 0e64f7449511d4c65f540772366b0e5f306fb17c /device.c | |
parent | 31a0318de43966ec3d06139492e8b39dcafc7eac (diff) | |
download | vdr-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |