Re: Question about v4l2-compliance: cap->readbuffers

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

 



On Tue 30 July 2013 17:18:58 Ricardo Ribalda Delgado wrote:
> Thanks for the explanation Hans!
> 
> I finaly manage to pass that one ;)
> 
> Just one more question. Why the compliance test checks if the DISABLED
> flag is on on for qctrls?
> 
> http://git.linuxtv.org/v4l-utils.git/blob/3ae390e54a0ba627c9e74953081560192b996df4:/utils/v4l2-compliance/v4l2-test-controls.cpp#l137
> 
>  137         if (fl & V4L2_CTRL_FLAG_DISABLED)
>  138                 return fail("DISABLED flag set\n");
> 
> Apparently that has been added on:
> http://git.linuxtv.org/v4l-utils.git/commit/0a4d4accea7266d7b5f54dea7ddf46cce8421fbb
> 
> But I have failed to find a reason

It shouldn't be used anymore in drivers. With the control framework there is
no longer any reason to use the DISABLED flag.

If something has a valid use case for it, then I'd like to know what it is.

Regards,

	Hans
--
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