Hi,

thanks for all replys

Hans wrote:
> > Do all cx18-based cards have a Tuner that supports PAL ?
> 
> No. The HVR-1600 for example is NTSC only.
that' s strange. We had a user with a HVR 1600 recently in the german vdr 
portal forum. According to his log, the driver returned success when pvrinput 
was setting VIDIOC_S_STD with V4L2_STD_PAL. Maybe this was a bug in earlier 
drivers versions?

> Anyway, the cx18 behavior is similar to ivtv. And use ENUMINPUT to
> determine which input has the tuner. Don't rely on the name of the input.

It seems we can detect the tuner by looking for type V4L2_INPUT_TYPE_TUNER. 
But for the external inputs there is only V4L2_INPUT_TYPE_CAMERA which is 
described as "Analog baseband input, for example CVBS / Composite Video, 
S-Video, RGB" in the v4l2 specs. This is not sufficient to let the 
application switch to a certain input. Our solution for the plugin was to 
look for all input names and internally assign them to the different types of 
inputs. Example: If a user wants to switch to the first S-Video input, the 
application has to know that the right input is the one named as "s-video" 
(pvrusb2) or "S-Video 1" (ivtv/cx18). Other drivers like saa7134 start 
numbering with 0. Maybe the v4l2 specs should be extended ?

Mike wrote:

> > > The pvrusb2 driver has its own input name for
> > > radio.
> > 
> > Hmm, dubious behavior as well.
> 
> The pvrusb2 driver treats the radio internally as "just another input", 
> it is after all effectively another input.  However if you open the 
> radio device node, the driver also switches to that input.  I don't see 
> anything dubious about that.
> 
>   -Mike
I like this behaviour.  Input switching is easier to use in applications 
compared to opening and closing devices.

Greets,

Martin

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

Reply via email to