Re: [PATCH v6 5/8] v4l2-ctl/compliance: Add simple routing test

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

 



On 08/08/2023 08:56, Tomi Valkeinen wrote:

I assume that num_routes is always updated to the actual number of routes, right?

If VIDIOC_SUBDEV_G_ROUTING succeeds, yes, num_routes is updated.

That's not actually explained clearly in the spec. It says that if the app provided num_routes is too small, then it is updated, but it says nothing about what happens
if the app provided value is too large.

Ok. I need to update the doc.

Actually, I have already sent a patch for that, "[PATCH] media: Documentation: Fix [GS]_ROUTING documentation" on 20th July.

 Tomi




[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