On Tue, Jan 22, 2019 at 11:21:27AM +0100, Hans Verkuil wrote: > On 01/22/19 10:47, Sakari Ailus wrote: > > Hi Hans, > > > > On Tue, Jan 22, 2019 at 09:19:42AM +0100, Hans Verkuil wrote: > >> Hi Sakari, > >> > >> Can you check if this patch is needed at all? The latest v4l2-ctl should work > >> for both meta capture and output, i.e. all meta options (v4l2-ctl --help-meta) > >> just look up the buffer type of the video device and use that to list/set/get/try > >> the formats. > > > > That'd be one option. I guess we don't have that elsewhere, do we? In > > practice it could work, but it'd prevent having the two queue types in the > > same video node. It seems an improbable combination though. > > > > I'd prefer keeping the options separate to maintain v4l2-ctl's ability to > > access all aspects of the API, even if unlikely. > > Well, you can add -out options for consistency, but the code remains the > same :-) Not quite: the option still determines which formats are being accessed --- just like for SDR. -- Sakari Ailus sakari.ailus@xxxxxxxxxxxxxxx