mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Channels with a zero VPID no longer write a PPID into channels.conf
This commit is contained in:
parent
6dd075fe53
commit
caf282e406
1
HISTORY
1
HISTORY
@ -2589,3 +2589,4 @@ Video Disk Recorder Revision History
|
|||||||
- Activated detection of radio channels (to avoid reports about "channels not
|
- Activated detection of radio channels (to avoid reports about "channels not
|
||||||
being detected that used to be detected with the 'scan' utility or the
|
being detected that used to be detected with the 'scan' utility or the
|
||||||
original 'autopid' patch ;-).
|
original 'autopid' patch ;-).
|
||||||
|
- Channels with a zero VPID no longer write a PPID into channels.conf.
|
||||||
|
4
pat.c
4
pat.c
@ -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: pat.c 1.4 2004/01/05 11:42:30 kls Exp $
|
* $Id: pat.c 1.5 2004/01/16 15:43:34 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "pat.h"
|
#include "pat.h"
|
||||||
@ -369,7 +369,7 @@ void cPatFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (Setup.UpdateChannels >= 2) {
|
if (Setup.UpdateChannels >= 2) {
|
||||||
Channel->SetPids(Vpid, Ppid, Apids[0], Apids[1], Dpids[0], Dpids[1], Tpid);
|
Channel->SetPids(Vpid, Vpid ? Ppid : 0, Apids[0], Apids[1], Dpids[0], Dpids[1], Tpid);
|
||||||
Channel->SetCaIds(CaDescriptors->CaIds());
|
Channel->SetCaIds(CaDescriptors->CaIds());
|
||||||
Channel->SetCaDescriptors(CaDescriptorHandler.AddCaDescriptors(CaDescriptors));
|
Channel->SetCaDescriptors(CaDescriptorHandler.AddCaDescriptors(CaDescriptors));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user