summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-03-26 09:46:58 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-03-26 09:46:58 +0200
commit22b60d96108b98f11af7fcf27f755637e2d106c5 (patch)
tree492770e115e27cd7621ff6865f7d855bcf140f45 /dvbdevice.c
parent1fe46dfa9faf971fee27870a49f652485e52647a (diff)
downloadvdr-22b60d96108b98f11af7fcf27f755637e2d106c5.tar.gz
vdr-22b60d96108b98f11af7fcf27f755637e2d106c5.tar.bz2
The new function cDevice::ForceTransferMode() can be used to force the primary device into transfer mode
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index a722be99..af9b4a84 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.c 1.154 2006/03/19 12:34:24 kls Exp $
+ * $Id: dvbdevice.c 1.155 2006/03/26 09:42:54 kls Exp $
*/
#include "dvbdevice.h"
@@ -930,9 +930,7 @@ void cDvbDevice::SetAudioTrackDevice(eTrackType Type)
if (!setTransferModeForDolbyDigital)
return;
// Currently this works only in Transfer Mode
- cChannel *Channel = Channels.GetByNumber(CurrentChannel());
- if (Channel)
- SetChannelDevice(Channel, false); // this implicitly starts Transfer Mode
+ ForceTransferMode();
}
}
}