[Bug 670257] [v4l2src] fails to renegotiate from ready to paused

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 20 14:21:37 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=670257
  GStreamer | gst-plugins-good | git

--- Comment #19 from Youness Alaoui <youness.alaoui at collabora.co.uk> 2012-06-20 21:21:33 UTC ---
Oh, you're right, I've read it wrong, it doesn't want buffers to be allocated,
I thought it wanted buffers to be pre-allocated. So there's a memleak somewhere
causing this.
Actually.. I've read the VIDIOC_REQBUFS ioctl docs and it says it must be
called with count=0 in order to free the buffers, but it's not called anywhere
when the bufferpool gets destroyed.

I've made it free the buffers kernel side when the bufferpool is destroyed and
I can confirm that it fixed the bug! :)
Thanks Robert for the help in figuring out the cause of this bug!

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list