[vdr] Re: Channels and pid update possible bug

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Sun Dec 11 14:08:27 CET 2005


Suur Karu wrote:
> Suur Karu wrote:
> 
>> Klaus Schmidinger wrote:
>>
>>> Please replace the function cChannels::GetByChannelID() in
>>> channels.c with the attached code, then run VDR and switch
>>> from transponder 10722 to 10762 and post what gets printed
>>> to stdout.
>>
>>
>>
>> Here we are.
>>
>>  From 10722 to 10762:
>> ---------------------------------------
>> GetByChannelID: S4.0W-4369-1-1 0 0
>>   sid = 1
>> GetByChannelID: S4.0W-0-110762-1 0 0
>>   sid = 1
>> GetByChannelID: S4.0W-4369-1-2 0 0
>>   sid = 2
>> GetByChannelID: S4.0W-0-110762-2 0 0
>>   sid = 2
>> GetByChannelID: S4.0W-4369-1-3 0 0
>>   sid = 3
>> GetByChannelID: S4.0W-0-110762-3 0 0
>>   sid = 3
>> GetByChannelID: S4.0W-4369-1-5 0 0
>>   sid = 5
>> GetByChannelID: S4.0W-0-110762-5 0 0
>>   sid = 5
>> GetByChannelID: S4.0W-4369-1-6 0 0
>>   sid = 6
>> GetByChannelID: S4.0W-0-110762-6 0 0
>>   sid = 6
>> GetByChannelID: S4.0W-4369-1-7 0 0
>>   sid = 7
>> GetByChannelID: S4.0W-0-110762-7 0 0
>>   sid = 7
> 
> 
> Sorry, I forgot set RID back to zero. With default value of it I got 
> different result:
> --------------------
> GetByChannelID: S4.0W-4369-1-1 0 0
>   sid = 1
>   channel->Sid() = 1
>   channel->Nid() = 4369
>   channel->Tid() = 1
>   channel->Transponder() = 110722
>   channel->GetChannelID() = S4.0W-4369-1-1
> GetByChannelID: S4.0W-4369-1-2 0 0
>   sid = 2
>   channel->Sid() = 2
>   channel->Nid() = 4369
>   channel->Tid() = 1
>   channel->Transponder() = 110722
>   channel->GetChannelID() = S4.0W-4369-1-2
> GetByChannelID: S4.0W-4369-1-3 0 0
>   sid = 3
>   channel->Sid() = 3
>   channel->Nid() = 4369
>   channel->Tid() = 1
>   channel->Transponder() = 110722
>   channel->GetChannelID() = S4.0W-4369-1-3
> GetByChannelID: S4.0W-4369-1-5 0 0
>   sid = 5
>   channel->Sid() = 5
>   channel->Nid() = 4369
>   channel->Tid() = 1
>   channel->Transponder() = 110722
>   channel->GetChannelID() = S4.0W-4369-1-5
> GetByChannelID: S4.0W-4369-1-6 0 0
>   sid = 6
>   channel->Sid() = 6
>   channel->Nid() = 4369
>   channel->Tid() = 1
>   channel->Transponder() = 110722
>   channel->GetChannelID() = S4.0W-4369-1-6
> GetByChannelID: S4.0W-4369-1-7 0 0
>   sid = 7
>   channel->Sid() = 7
>   channel->Nid() = 4369
>   channel->Tid() = 1
>   channel->Transponder() = 110722
>   channel->GetChannelID() = S4.0W-4369-1-7
> --------------------
> It seems like no differents 10722->10762 or 10762->10722 switching.

Well, I cant see anything wrong here.
VDR always finds exactly the channel it is looking for.

Please let me know if you get some output here that shows different
values in the "GetByChannelID:" and "channel->GetChannelID()" lines.

Klaus



More information about the vdr mailing list