diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-04 13:19:22 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-04 13:19:22 +0100 |
commit | b62328b8ae6b40ee499f1b110eb78b7a8458dddc (patch) | |
tree | f5a816f4377bcbf45e4aa4dd907b1131469233d9 /dvbdevice.c | |
parent | 5274b4c8b332c155f7510ca443e2e5768c49cae4 (diff) | |
download | vdr-b62328b8ae6b40ee499f1b110eb78b7a8458dddc.tar.gz vdr-b62328b8ae6b40ee499f1b110eb78b7a8458dddc.tar.bz2 |
Moved setting available tracks to cDevice
Diffstat (limited to 'dvbdevice.c')
-rw-r--r-- | dvbdevice.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/dvbdevice.c b/dvbdevice.c index 7264d86f..58612c03 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.108 2005/01/02 11:51:18 kls Exp $ + * $Id: dvbdevice.c 1.109 2005/01/04 13:13:32 kls Exp $ */ #include "dvbdevice.h" @@ -801,12 +801,6 @@ bool cDvbDevice::SetChannelDevice(const cChannel *Channel, bool LiveView) // PID settings: if (TurnOnLivePIDs) { - ClrAvailableTracks(); - for (int i = 0; i < MAXAPIDS; i++) { - //XXX do this in cDevice??? - SetAvailableTrack(ttAudio, i, Channel->Apid(i), Channel->Alang(i)); - SetAvailableTrack(ttDolby, i, Channel->Dpid(i), Channel->Dlang(i)); - } if (!(AddPid(Channel->Ppid(), ptPcr) && AddPid(Channel->Vpid(), ptVideo) && AddPid(Channel->Apid(0), 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; |