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

Anssi Hannula anssi.hannula at gmail.com
Sat Apr 21 05:06:41 CEST 2007


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

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

More information about the vdr mailing list