Re: [git:v4l-dvb/for_v3.3] [media] V4L2 Spec: improve the G/S_INPUT/OUTPUT documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 17 Jan 2012, Mauro Carvalho Chehab wrote:

> Em 17-01-2012 08:16, Guennadi Liakhovetski escreveu:
> > Hi Hans
> > 
> > On Tue, 17 Jan 2012, Hans Verkuil wrote:
> > 
> >> On Monday 16 January 2012 23:16:31 Guennadi Liakhovetski wrote:
> >>> On Mon, 16 Jan 2012, Mauro Carvalho Chehab wrote:
> >>>> This is an automatic generated email to let you know that the following
> >>>> patch were queued at the http://git.linuxtv.org/media_tree.git tree:
> >>>>
> >>>> Subject: [media] V4L2 Spec: improve the G/S_INPUT/OUTPUT documentation
> >>>> Author:  Hans Verkuil <hans.verkuil@xxxxxxxxx>
> >>>> Date:    Wed Jan 11 07:37:54 2012 -0300
> >>>
> >>> [snip]
> >>>
> >>>> diff --git a/Documentation/DocBook/media/v4l/vidioc-g-output.xml
> >>>> b/Documentation/DocBook/media/v4l/vidioc-g-output.xml index
> >>>> fd45f1c..4533068 100644
> >>>> --- a/Documentation/DocBook/media/v4l/vidioc-g-output.xml
> >>>> +++ b/Documentation/DocBook/media/v4l/vidioc-g-output.xml
> >>>> @@ -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>
> >>>
> >>> something seems to be wrong here.
> >>
> >> Hi Guennadi!
> >>
> >> What's wrong here? I've no idea what you mean.
> > 
> >>>> +standard.
> >>>> +standard. Because of these possible side effects applications
> > 
> > doesn't seem to make much sense?
> 
> Are you referring to grammar?

Sorry, am I being blind? The above seems to produce

<quote>
different video standards, so the driver may implicitly switch the
current standard. standard. Because of these possible side effects 
applications
</quote>

i.e., double "standard." - one too many.

Thanks
Guennadi

> I think that a comma is missing there [1]:
> 
> 	Because of these possible side effects, applications
> 	must select an output before querying or negotiating any other
> 	parameters.
> 
> IMO, reverting the order of the explanation clause is semantically better,
> as it bolds the need to select an output, and put the phrase at the
> cause-effect order:
> 
> 	Applications must select an output before querying or negotiating 
> 	any other parameters, because of these possible side effects.
> 
> But this is really a matter of choice. In any case, except for the
> comma, that makes sense for me.
> 
> [1] Rule 4 of http://grammar.ccc.commnet.edu/grammar/commas.htm
> 
> 
> Regards,
> Mauro
> 

---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux