mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Enabled switching to a channel even if it has no Vpid or Apid set
This commit is contained in:
parent
1a91d46cf3
commit
64683c2438
2
HISTORY
2
HISTORY
@ -2644,3 +2644,5 @@ Video Disk Recorder Revision History
|
|||||||
come later.
|
come later.
|
||||||
- Fixed the validity check for channel IDs, because some providers use TIDs with
|
- Fixed the validity check for channel IDs, because some providers use TIDs with
|
||||||
value 0 (thanks to Thomas Bergwinkl).
|
value 0 (thanks to Thomas Bergwinkl).
|
||||||
|
- Enabled switching to a channel even if it has no Vpid or Apid set, because these
|
||||||
|
might be automatically set when tuned to that transponder.
|
||||||
|
@ -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.80 2004/02/08 11:11:10 kls Exp $
|
* $Id: dvbdevice.c 1.81 2004/02/08 14:07:07 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "dvbdevice.h"
|
#include "dvbdevice.h"
|
||||||
@ -680,7 +680,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 ((Channel->Vpid() || Channel->Apid1()) && ProvidesSource(Channel->Source()) && ProvidesCa(Channel)) {
|
if (ProvidesSource(Channel->Source()) && ProvidesCa(Channel)) {
|
||||||
result = hasPriority;
|
result = hasPriority;
|
||||||
if (Priority >= 0 && Receiving()) {
|
if (Priority >= 0 && Receiving()) {
|
||||||
if (dvbTuner->IsTunedTo(Channel)) {
|
if (dvbTuner->IsTunedTo(Channel)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user