summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/media/v4l/vidioc-enum-fmt.xml
diff options
context:
space:
mode:
authorHans Verkuil2012-09-03 14:37:18 +0200
committerMauro Carvalho Chehab2012-09-26 14:30:22 +0200
commit93828d6438081649e81b8681df9bf6ad5d691650 (patch)
tree0529d43509c1782b3e2f88a896e4540f408c2e87 /Documentation/DocBook/media/v4l/vidioc-enum-fmt.xml
parent[media] DocBook: improve STREAMON/OFF documentation (diff)
downloadkernel-qcow2-linux-93828d6438081649e81b8681df9bf6ad5d691650.tar.gz
kernel-qcow2-linux-93828d6438081649e81b8681df9bf6ad5d691650.tar.xz
kernel-qcow2-linux-93828d6438081649e81b8681df9bf6ad5d691650.zip
[media] DocBook: make the G/S/TRY_FMT specification more strict
- S/TRY_FMT should always succeed, unless an invalid type field is passed in. - TRY_FMT should give the same result as S_FMT, all other things being equal. - ENUMFMT may return different formats for different inputs or outputs. This was decided during the 2012 Media Workshop. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook/media/v4l/vidioc-enum-fmt.xml')
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-enum-fmt.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/DocBook/media/v4l/vidioc-enum-fmt.xml b/Documentation/DocBook/media/v4l/vidioc-enum-fmt.xml
index 81ebe48317fe..0bd332421407 100644
--- a/Documentation/DocBook/media/v4l/vidioc-enum-fmt.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-enum-fmt.xml
@@ -58,6 +58,9 @@ structure. Drivers fill the rest of the structure or return an
incrementing by one until <errorcode>EINVAL</errorcode> is
returned.</para>
+ <para>Note that after switching input or output the list of enumerated image
+formats may be different.</para>
+
<table pgwide="1" frame="none" id="v4l2-fmtdesc">
<title>struct <structname>v4l2_fmtdesc</structname></title>
<tgroup cols="3">