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

Guennadi Liakhovetski g.liakhovetski at gmx.de
Mon Mar 8 11:43:25 CET 2010


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