[PATCH] re-use devices in transfer mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux