On Saturday 21 February 2009 16:48:00 Andy Walls wrote:
> Hans,
>
> I think ivtv's new handling of S_STD for a GPIO mux has a bug. If the
> user has a GPIO mux set to Composite 1/Audio Line-in 1, then a
> VIDIOC_S_STD call will reroute the GPIO audio mux back to the tuner.
Hmm, yes this is a very, very old bug. It was there from the very beginning.
The idea is that when you are in radio mode, then a call to S_STD should
switch you back to video mode. So there should be some additional
administration here to keep track of the video input and set it back to
that, rather than just choosing the tuner input.
Of course, abusing S_STD for something like this is dubious as well, but it
is rather low on the long list of things we can improve.
To be honest, I don't feel terribly compelled to go in and fix it. I'm a bit
too busy lately :-)
Regards,
Hans
--
Hans Verkuil - video4linux developer - sponsored by TANDBERG
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel