1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Revoked the check for low symbol rates on FF cards (some actually can do this)

This commit is contained in:
Klaus Schmidinger 2005-12-28 12:28:37 +01:00
parent fbddcb2fd6
commit bf4655197d
2 changed files with 2 additions and 6 deletions

View File

@ -3969,8 +3969,6 @@ Video Disk Recorder Revision History
(was broken in version 1.3.37). (was broken in version 1.3.37).
- Improved TS/PES conversion to better handle lost TS packets (thanks to - Improved TS/PES conversion to better handle lost TS packets (thanks to
Reinhard Nissl). Reinhard Nissl).
- Now checking the channel's symbol rate in order to avoid problems on full
featured DVB cards with symbol rates below 10000.
- Limited the frequency of log messages from the cRepackers. - Limited the frequency of log messages from the cRepackers.
- Now using the gettid() syscall to get a thread's pid, so that we get a - Now using the gettid() syscall to get a thread's pid, so that we get a
useful value on NPTL systems (suggested by Johannes Stezenbach). useful value on NPTL systems (suggested by Johannes Stezenbach).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: dvbdevice.c 1.140 2005/12/03 13:36:08 kls Exp $ * $Id: dvbdevice.c 1.141 2005/12/28 12:28:05 kls Exp $
*/ */
#include "dvbdevice.h" #include "dvbdevice.h"
@ -738,8 +738,6 @@ bool cDvbDevice::ProvidesSource(int Source) const
bool cDvbDevice::ProvidesTransponder(const cChannel *Channel) const bool cDvbDevice::ProvidesTransponder(const cChannel *Channel) const
{ {
if (HasDecoder() && Channel->Srate() < 10000)
return false;
return ProvidesSource(Channel->Source()) && (!cSource::IsSat(Channel->Source()) || !Setup.DiSEqC || Diseqcs.Get(Channel->Source(), Channel->Frequency(), Channel->Polarization())); return ProvidesSource(Channel->Source()) && (!cSource::IsSat(Channel->Source()) || !Setup.DiSEqC || Diseqcs.Get(Channel->Source(), Channel->Frequency(), Channel->Polarization()));
} }
@ -749,7 +747,7 @@ bool cDvbDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *Ne
bool hasPriority = Priority < 0 || Priority > this->Priority(); bool hasPriority = Priority < 0 || Priority > this->Priority();
bool needsDetachReceivers = false; bool needsDetachReceivers = false;
if (ProvidesSource(Channel->Source()) && ProvidesTransponder(Channel) && ProvidesCa(Channel)) { if (ProvidesSource(Channel->Source()) && ProvidesCa(Channel)) {
result = hasPriority; result = hasPriority;
if (Priority >= 0 && Receiving(true)) { if (Priority >= 0 && Receiving(true)) {
if (dvbTuner->IsTunedTo(Channel)) { if (dvbTuner->IsTunedTo(Channel)) {