[vdr] what is cDevice::Receiving() supposed to return?

Anssi Hannula anssi.hannula at gmail.com
Fri Apr 25 13:36:08 CEST 2008


Andreas Holzhammer - GMX wrote:
> Hi,

Hi!

> I'm trying to track down a problem with lnbsharing and software 
> decoding, and am stuck at understanding what cDevice::Receiving should 
> actually return.
> 
> I have two budget dvb-s cards, and use softdevice for output.
> 
> The patch runs i through 0...numDevices and queries 
> device[i]->Receiving(). But for all 3 devices the call to Receiving() 
> returns 0? Shouldn't at least one of the devices receive the currently 
> viewed channel?
> 
> vdr tuned to channel 1, channelswitch to channel 2:
> 
> Apr 24 21:18:02 (none) user.err vdr: [15119] GMBP channel 2 device 0 LNB 
> 1 LNBstate 1 can provide channel 1 prio -1 receiving 0
> Apr 24 21:18:02 (none) user.err vdr: [15119] GMBP channel 2 device 1 LNB 
> 1 LNBstate 1 can provide channel 1 prio -1 receiving 0
> Apr 24 21:18:02 (none) user.err vdr: [15119] GMBP channel 2 device 2 LNB 
> 1 LNBstate 1 can provide channel 0 prio -1 receiving 0
> 
> What is the call to Receiving supposed to return? If it's always 
> returning 0 I have an idea why lnbsharing doesn't work for me :-)

I don't know about lnbshare, but Receiving() (without parameter) returns
true if there are any receivers on that device with a priority 0 or higher.

The live view using transfer mode is using priority -1, so it does not
show up.

-- 
Anssi Hannula



More information about the vdr mailing list