Re: [RFC PATCH] Add support for V4L2_EVENT_SUB_FL_NO_FEEDBACK

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

 



> Hi Hans,
>
> On Tuesday 28 June 2011 17:18:07 Hans Verkuil wrote:
>> Originally no control events would go to the filehandle that called the
>> VIDIOC_S_CTRL/VIDIOC_S_EXT_CTRLS ioctls. This was to prevent a feedback
>> loop.
>>
>> This is now only done if the new V4L2_EVENT_SUB_FL_NO_FEEDBACK flag is
>> set.
>
> What about doing it the other way around ? Most applications won't want
> that
> feedback, you could disable it by default.

I thought about that, but that's harder to explain since that flag would
then suppress an exception to the normal handling of event.

It's easier to say: events are sent to everyone, but if you set this flag,
then we make this exception.

I suspect that most applications do not need to set this flag anyway, only
applications like qv4l2 that create a control panel need it.

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