summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'device.c')
-rw-r--r--device.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/device.c b/device.c
index 75bb9181..5b9e1ec6 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 3.9 2014/01/18 14:26:06 kls Exp $
+ * $Id: device.c 3.10 2014/01/20 11:53:47 kls Exp $
*/
#include "device.h"
@@ -761,6 +761,9 @@ eSetChannelResult cDevice::SetChannel(const cChannel *Channel, bool LiveView)
cDevice *Device = (LiveView && IsPrimaryDevice()) ? GetDevice(Channel, LIVEPRIORITY, true) : this;
bool NeedsTransferMode = Device != this;
+ // If the CAM slot wants the TS data, we need to switch to Transfer Mode:
+ if (!NeedsTransferMode && LiveView && IsPrimaryDevice() && CamSlot() && CamSlot()->WantsTsData())
+ NeedsTransferMode = true;
eSetChannelResult Result = scrOk;