Skip to content

Commit

Permalink
[media] V4L2 Spec: improve the G/S_INPUT/OUTPUT documentation
Browse files Browse the repository at this point in the history
As Rupert pointed out, the phrase "It is good practice" should be replaced
with "You must".

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Rupert Eibauer <Rupert.Eibauer@ces.ch>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Jan 16, 2012
1 parent 6055b12 commit dacd4fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Documentation/DocBook/media/v4l/vidioc-g-input.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ desired input in an integer and call the
<constant>VIDIOC_S_INPUT</constant> ioctl with a pointer to this
integer. Side effects are possible. For example inputs may support
different video standards, so the driver may implicitly switch the
current standard. It is good practice to select an input before
querying or negotiating any other parameters.</para>
current standard. Because of these possible side effects applications
must select an input before querying or negotiating any other parameters.</para>

<para>Information about video inputs is available using the
&VIDIOC-ENUMINPUT; ioctl.</para>
Expand Down
5 changes: 3 additions & 2 deletions Documentation/DocBook/media/v4l/vidioc-g-output.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ desired output in an integer and call the
<constant>VIDIOC_S_OUTPUT</constant> ioctl with a pointer to this integer.
Side effects are possible. For example outputs may support different
video standards, so the driver may implicitly switch the current
standard. It is good practice to select an output before querying or
negotiating any other parameters.</para>
standard.
standard. Because of these possible side effects applications
must select an output before querying or negotiating any other parameters.</para>

<para>Information about video outputs is available using the
&VIDIOC-ENUMOUTPUT; ioctl.</para>
Expand Down

0 comments on commit dacd4fa

Please sign in to comment.