[vdr] [PATCH] re-use devices in transfer mode

Anssi Hannula anssi.hannula at gmail.com
Sat Apr 21 16:29:58 CEST 2007


Stone wrote:
> 
>     Anssi Hannula wrote:
>     > However, the usual "use-already-tuned-devices" check in
>     GetDevice() only
>     > checks for device->Receiving(), which does not report transfer-moded
>     > device, resulting in the new receiver being started on second device,
>     > thus both devices being reserved for receiving data from the same
>     > transponder.
> 
> 
> Can this patch also be applied to vdr-1.5.1 with a little manual
> fixing?  Thanks.

I think so, by modifying line 330:
 imp <<= 1; imp |= !device[i]->Receiving() || ndr;
to
 imp <<= 1; imp |= !device[i]->Receiving() && device[i] !=
cTransferControl::ReceiverDevice() || ndr;

-- 
Anssi Hannula




More information about the vdr mailing list