On Wed, 2017-07-19 at 12:26:18 +0200, Hans Verkuil wrote:
> On 23/06/17 15:56, Soren Brinkmann wrote:
> > Print the numerical ID for each control in list commands.
> >
> > Signed-off-by: Soren Brinkmann <[email protected]>
> > ---
> > I was trying to set controls from a userspace application and was hence
> > looking
> > for an easy way to find the control IDs to use with VIDIOC_(G|S)_EXT_CTRLS.
> > The
> > -l/-L options of v4l2-ctl already provide most information needed, hence I
> > thought I'd add the numerical ID too.
>
> Good idea. I applied the patch but with two small changes:
>
> 1) I replaced qmenu.id by queryctrl->id to be more consistent.
> 2) I replaced the '/' separator by a space. It made the output a bit more
> readable IMHO.
Sounds good to me. Thanks!
Sören