ioctl VIDIOC_QUERY_DV_PRESET
&manvol;
VIDIOC_QUERY_DV_PRESET
Sense the DV preset received by the current
input
int ioctl
int fd
int request
&v4l2-dv-preset; *argp
Arguments
fd
&fd;
request
VIDIOC_QUERY_DV_PRESET
argp
Description
The hardware may be able to detect the current DV preset
automatically, similar to sensing the video standard. To do so, applications
call VIDIOC_QUERY_DV_PRESET with a pointer to a
&v4l2-dv-preset; type. Once the hardware detects a preset, that preset is
returned in the preset field of &v4l2-dv-preset;. When detection is not
possible or fails, the value V4L2_DV_INVALID is returned.
&return-value;
EINVAL
This ioctl is not supported.
EBUSY
The device is busy and therefore can not sense the preset