mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added a check for Setup.DiSEqC in cDvbDevice::ProvidesTransponder()
This commit is contained in:
parent
d7053e30ac
commit
faf7d4b743
@ -1333,3 +1333,6 @@ Matthias L
|
||||
|
||||
Wolfgang Fritz <wolfgang.fritz@gmx.net>
|
||||
for making recordings avoid zero sized video data files
|
||||
|
||||
Michael Reinelt <reinelt@eunet.at>
|
||||
for reporting a problem with the EPG scan on systems that don't use DiSEqC
|
||||
|
3
HISTORY
3
HISTORY
@ -3519,3 +3519,6 @@ Video Disk Recorder Revision History
|
||||
- Some cable providers don't mark short channel names according to the standard,
|
||||
but rather go their own way and use "name>short name". VDR now splits at this
|
||||
character for cable channels (thanks to Gerhard Steiner for reporting this one).
|
||||
- Added a check for Setup.DiSEqC in cDvbDevice::ProvidesTransponder(), otherwise
|
||||
the EPG scan didn't work on systems that don't use DiSEqC (thanks to Michael
|
||||
Reinelt for reporting this one).
|
||||
|
@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: dvbdevice.c 1.127 2005/03/20 10:10:38 kls Exp $
|
||||
* $Id: dvbdevice.c 1.128 2005/05/14 09:59:17 kls Exp $
|
||||
*/
|
||||
|
||||
#include "dvbdevice.h"
|
||||
@ -741,7 +741,7 @@ bool cDvbDevice::ProvidesSource(int Source) const
|
||||
|
||||
bool cDvbDevice::ProvidesTransponder(const cChannel *Channel) const
|
||||
{
|
||||
return ProvidesSource(Channel->Source()) && ((Channel->Source() & cSource::st_Mask) != cSource::stSat || Diseqcs.Get(Channel->Source(), Channel->Frequency(), Channel->Polarization()));
|
||||
return ProvidesSource(Channel->Source()) && ((Channel->Source() & cSource::st_Mask) != cSource::stSat || !Setup.DiSEqC || Diseqcs.Get(Channel->Source(), Channel->Frequency(), Channel->Polarization()));
|
||||
}
|
||||
|
||||
bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *NeedsDetachReceivers) const
|
||||
|
Loading…
Reference in New Issue
Block a user