diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-12-03 11:51:05 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-12-03 11:51:05 +0100 |
commit | e3dd1634614e4a51c795937418ddc4a4dbaa0f06 (patch) | |
tree | e4fc20ac75a989e8969c0405bac31b4e854d7792 /dvbdevice.c | |
parent | 41f718987d625d2938c6ed0827759b217fda63a2 (diff) | |
download | vdr-e3dd1634614e4a51c795937418ddc4a4dbaa0f06.tar.gz vdr-e3dd1634614e4a51c795937418ddc4a4dbaa0f06.tar.bz2 |
Fixed handling second audio and Dolby Digital PIDs for encrypted channels (was broken in version 1.3.37)
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index 30ce1e4a..43e55389 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.138 2005/11/26 13:23:11 kls Exp $ + * $Id: dvbdevice.c 1.139 2005/11/29 17:18:04 kls Exp $ */ #include "dvbdevice.h" @@ -825,6 +825,11 @@ bool cDvbDevice::SetChannelDevice(const cChannel *Channel, bool LiveView) esyslog("ERROR: failed to set PIDs for channel %d on device %d", Channel->Number(), CardIndex() + 1); return false; } + //XXX quick workaround for additional live audio PIDs: + if (ciHandler) { + ciHandler->SetPid(Channel->Apid(1), true); + ciHandler->SetPid(Channel->Dpid(0), true); + } if (IsPrimaryDevice()) AddPid(Channel->Tpid(), ptTeletext); CHECK(ioctl(fd_audio, AUDIO_SET_MUTE, true)); // actually one would expect 'false' here, but according to Marco Schlüßler <marco@lordzodiac.de> this works |