Re: [PATCHv18 01/35] Documentation: v4l: document request API

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

 



Em Thu, 16 Aug 2018 11:58:09 +0200
Hans Verkuil <hverkuil@xxxxxxxxx> 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



[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