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

Guennadi Liakhovetski g.liakhovetski at gmx.de
Mon Mar 8 16:58:11 CET 2010


On Mon, 8 Mar 2010, Clark, Rob wrote:

> 
> On Mar 8, 2010, at 8:18 AM, Guennadi Liakhovetski wrote:
> 
> > On Mon, 8 Mar 2010, Clark, Rob wrote:
> > 
> >> Hi Guennadi,
> >> 
> >> Could you send me a log w/ GST_DEBUG="*v4l2*:5"?
> > 
> > Attached compressed. ASAIU, these two lines are interesting:
> > 
> > 0:00:03.630077728 4m 10350m   0x43ed50 mLOG    0m 0m                v4l2 gstv4l2bufferpool.c:484:gst_v4l2_buffer_pool_qbuf:<v4l2sink0>0m enqueue pool buffer 0
> > 
> > 0:00:03.737993377 4m 10350m   0x43ed50 mLOG    0m 0m                v4l2 gstv4l2bufferpool.c:484:gst_v4l2_buffer_pool_qbuf:<v4l2sink0>0m enqueue pool buffer 0
> > 
> > in both cases buffer +0 is queued and the second one returns an error.
> 
> 
> Hmm, could you delete this line in gstv4l2sink.c:
> 
>   basesink_class->preroll = GST_DEBUG_FUNCPTR (gst_v4l2sink_show_frame);
> 
> should be something like line 257

Yes, the error is gone, and I see some blinking on the TV... Thanks!

> I've made this change, and a few other patches... but I guess I'm 
> getting a bit behind on submitting those patches

Maybe you could find some time and submit those patches, or at least send 
them to me for testing? Is there anything relevant for image-format 
configuration in them?

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/




More information about the gstreamer-devel mailing list