Commit 16d18b16 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

[media] Fix DV_TIMINGS_CAP documentation

This patch fixes the DV_TIMINGS_CAP documentation: part of it was copy-and-paste from
the ENUM_DV_TIMINGS documentation.

Regards,

	Hans
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent c082266f
...@@ -54,15 +54,9 @@ ...@@ -54,15 +54,9 @@
interface and may change in the future.</para> interface and may change in the future.</para>
</note> </note>
<para>To query the available timings, applications initialize the <para>To query the capabilities of the DV receiver/transmitter applications can call
<structfield>index</structfield> field and zero the reserved array of &v4l2-dv-timings-cap; this ioctl and the driver will fill in the structure. Note that drivers may return
and call the <constant>VIDIOC_DV_TIMINGS_CAP</constant> ioctl with a pointer to this different values after switching the video input or output.</para>
structure. Drivers fill the rest of the structure or return an
&EINVAL; when the index is out of bounds. To enumerate all supported DV timings,
applications shall begin at index zero, incrementing by one until the
driver returns <errorcode>EINVAL</errorcode>. Note that drivers may enumerate a
different set of DV timings after switching the video input or
output.</para>
<table pgwide="1" frame="none" id="v4l2-bt-timings-cap"> <table pgwide="1" frame="none" id="v4l2-bt-timings-cap">
<title>struct <structname>v4l2_bt_timings_cap</structname></title> <title>struct <structname>v4l2_bt_timings_cap</structname></title>
...@@ -115,7 +109,7 @@ output.</para> ...@@ -115,7 +109,7 @@ output.</para>
<row> <row>
<entry>__u32</entry> <entry>__u32</entry>
<entry><structfield>reserved</structfield>[16]</entry> <entry><structfield>reserved</structfield>[16]</entry>
<entry></entry> <entry>Reserved for future extensions. Drivers must set the array to zero.</entry>
</row> </row>
</tbody> </tbody>
</tgroup> </tgroup>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment