Re: [PATCH v4l2-utils] v4l2-ctl: Print numerical control ID

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

 



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 <soren.brinkmann@xxxxxxxxxx>
> > ---
> > 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



[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