From e9d9a1fdd47c909e56d58ffcbed585bb17691ef5 Mon Sep 17 00:00:00 2001 From: focus Date: Wed, 26 Jan 2011 09:01:38 +0000 Subject: [PATCH] Fix git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1043 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/zapit/src/zapit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index 531c5de54..06c0d79b7 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -375,7 +375,7 @@ void start_camd(bool forupdate = false) } else { /* zap back to rec. channel */ camask = 5; // demux 0 + 2 - cam0->setCaPmt(g_current_channel->getCaPmt(), DEMUX_SOURCE_0, cam0->getCaMask() | DEMUX_DECODE_2 /*camask*/, true); // update + cam0->setCaPmt(g_current_channel->getCaPmt(), DEMUX_SOURCE_0, cam0->getCaMask() | DEMUX_DECODE_0 | DEMUX_DECODE_2 /*camask*/, true); // update cam1->sendMessage(0,0); // stop/close } } else { @@ -718,7 +718,7 @@ void unsetRecordMode(void) if(standby) cam0->sendMessage(0,0); // stop else if(live_channel_id == rec_channel_id) { - cam0->setCaPmt(g_current_channel->getCaPmt(), DEMUX_SOURCE_0, cam0->getCaMask() & ~DEMUX_DECODE_2 /*1*/, true); // demux 0, update + cam0->setCaPmt(g_current_channel->getCaPmt(), DEMUX_SOURCE_0, (cam0->getCaMask() | DEMUX_DECODE_0) & ~DEMUX_DECODE_2 /*1*/, true); // demux 0, update } else { cam1->sendMessage(0,0); // stop cam0->setCaPmt(g_current_channel->getCaPmt(), DEMUX_SOURCE_0, cam0->getCaMask() & ~DEMUX_DECODE_2 /*1*/); // start