Em Thu, 16 Aug 2018 11:58:09 +0200
Hans Verkuil <hverk...@xs4all.nl> escreveu:
  
> >> This is set by the user when
> >> calling
> >> +  :ref:`ioctl VIDIOC_QBUF <VIDIOC_QBUF>` and ignored by other ioctls.  
> > 
> > Shouldn't other ioctls return an error when V4L2_BUF_FLAG_REQUEST_FD is set 
> > ?  
> 
> Should they? I'd like to know what others think.

I don't see any reason why to add an extra validation logic checking
if V4L2_BUF_FLAG_REQUEST_FD is set just to return an error.

It might make sense to ask apps to not set it on other ioctls, just in 
eventual case we might want to use this flag there (although I don't
foresee any such usage).


Thanks,
Mauro

Reply via email to