[gst-devel] v4l2src question, is a frame returned with error (EIO) from dqbuf ioctl sent back to driver?

Stefan Kost ensonic at hora-obscura.de
Thu Mar 25 21:30:48 CET 2010


Am 25.03.2010 11:35, schrieb yiliang:
> 
> Hi,
> 
> In gst_v4l2_buffer_pool_dqbuf, if the following system call return a buffer,
> but with an error such as -EIO, will v4l2src re-queue the buffer to driver?

yes.

Stefan
> 
>   if (v4l2_ioctl (pool->video_fd, VIDIOC_DQBUF, &buffer) >=0) {
>   }
> 
> Thanks,
> Yiliang
> 





More information about the gstreamer-devel mailing list