Hey, I've recently learned that it is impossible to switch inputs
when using the latest ivtv drivers unless you close all the open file
descriptors for a video device first. Working around this in MythTV
would be a nightmare since the class that does channel changing and
input switching for all V4L and V4L2 devices is deliberately kept
isolated from the class that handles recording with the ivtv drivers;
they use separate file descriptors and operate in different threads.
That brings me here since it looks like it might be much easier for me
to fix this in the ivtv driver than working around the problem in
MythTV, and fixing this upstream would have the bonus of allowing
other applications to continue to use the ivtv drivers.

Anyway, can anyone give me pointers on where to start? I'm assuming that
on the input switching ioctl I will need to close up and restart
streaming on all open file descriptors, but what else needs to be done?
I'm assuming that if were really that simple it would have been fixed
already, so what were the underlying issues?

-- Daniel


_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to