After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700781 - v4l2: keep a reference to all queued buffers
v4l2: keep a reference to all queued buffers
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-21 14:27 UTC by Michael Olbrich
Modified: 2013-05-21 14:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (2.05 KB, patch)
2013-05-21 14:27 UTC, Michael Olbrich
committed Details | Review

Description Michael Olbrich 2013-05-21 14:27:53 UTC
Created attachment 244926 [details] [review]
patch

Without this, a queued buffer may be required, filled and queued before it
is dequeued.
Calling gst_buffer_pool_acquire_buffer() ensures that the buffer is set up
correctly and gst_buffer_unref() calls buffer_release().
Comment 1 Sebastian Dröge (slomo) 2013-05-21 14:45:28 UTC
commit f9cc655adf0ede6986d9dffd7cd172d9133a6ff3
Author: Michael Olbrich <m.olbrich@pengutronix.de>
Date:   Tue May 21 12:02:51 2013 +0200

    v4l2: keep a reference to all queued buffers
    
    Without this, a queued buffer may be required, filled and queued before it
    is dequeued.
    Calling gst_buffer_pool_acquire_buffer() ensures that the buffer is set up
    correctly and gst_buffer_unref() calls buffer_release().
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700781