[PATCH] re-use devices in transfer mode

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

 



Hi!

Consider the scenario:
- 2 devices, 1 used in transfer mode on transponder A
- a new recording / streamdev session starts on transponder A

Now, IMO the correct thing to do is start the new receiver in the
transfer-moded device, so that the second device is left free.

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.

Attached is a patch for GetDevice() to check for transfer-moded devices
as well.

-- 
Anssi Hannula

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-1.4.6-getdevice.diff
Type: text/x-patch
Size: 1210 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20070421/35ecec1e/vdr-1.4.6-getdevice.bin

[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