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

2008-04-25 Thread Anssi Hannula
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

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


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

2008-04-24 Thread Andreas Holzhammer - GMX
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 :-)

Thanks,

Andreas


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr