[gst-devel] v4l2sink plugin erroneously submitting the same buffer again

Clark, Rob rob at ti.com
Mon Mar 8 15:11:01 CET 2010


Hi Guennadi,

Could you send me a log w/ GST_DEBUG="*v4l2*:5"?


BR,
-R


On Mar 8, 2010, at 4:43 AM, Guennadi Liakhovetski wrote:

> Hi Rob, all
> 
> I'm trying to use the v4l2sink plugin with my video-output driver. 
> Currently I'm blocked by the following problem: I observe, that the 
> VIDIOC_Q_BUF ioctl is issued by gstreamer twice in a row for the same 
> buffer without a VIDIOC_DQ_BUF between them. This triggers an error in the 
> kernel in drivers/media/video/videobuf-core.c::videobuf_qbuf() - the 
> buffer-state test fails. Am I doing anything wrong? The command line used 
> is
> 
> gst-launch -v filesrc location=/home/default/r0010854.avi ! decodebin ! ffmpegcolorspace ! v4l2sink device=/dev/video0
> 
> Thanks
> Guennadi
> ---
> Guennadi Liakhovetski, Ph.D.
> Freelance Open-Source Software Developer
> http://www.open-technology.de/





More information about the gstreamer-devel mailing list