diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-11-20 12:26:01 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-11-20 12:26:01 +0100 |
commit | edc1440ed8ad50e075dc39de9ac5dee1f552542b (patch) | |
tree | 0a7e9386680813e8751779249fd1b9a2baa86653 /dvbdevice.c | |
parent | c07a3a371ed4be7acece41ad06a81bf6814585f8 (diff) | |
download | vdr-edc1440ed8ad50e075dc39de9ac5dee1f552542b.tar.gz vdr-edc1440ed8ad50e075dc39de9ac5dee1f552542b.tar.bz2 |
Now setting the VPID before the APID in live mode to avoid unnecessary overhead in the firmware
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index 2702f953..8780ac53 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.104 2004/11/07 10:27:19 kls Exp $ + * $Id: dvbdevice.c 1.105 2004/11/20 11:41:37 kls Exp $ */ #include "dvbdevice.h" @@ -800,7 +800,7 @@ bool cDvbDevice::SetChannelDevice(const cChannel *Channel, bool LiveView) if (TurnOnLivePIDs) { aPid1 = Channel->Apid1(); aPid2 = Channel->Apid2(); - if (!(AddPid(Channel->Ppid(), ptPcr) && AddPid(Channel->Apid1(), ptAudio) && AddPid(Channel->Vpid(), ptVideo))) {//XXX+ dolby dpid1!!! (if audio plugins are attached) + if (!(AddPid(Channel->Ppid(), ptPcr) && AddPid(Channel->Vpid(), ptVideo) && AddPid(Channel->Apid1(), ptAudio))) {//XXX+ dolby dpid1!!! (if audio plugins are attached) esyslog("ERROR: failed to set PIDs for channel %d on device %d", Channel->Number(), CardIndex() + 1); return false; } |