[Bug 745287] basesink: drain query doesn't fully work to release v4l2 buffers
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Mar 14 04:14:17 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=745287
Thiago Sousa Santos <thiagossantos at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Component|gst-plugins-base |gstreamer (core)
Resolution|--- |FIXED
Target Milestone|git master |1.5.1
OS|Linux |All
--- Comment #6 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
commit 901fea5985b82fcdf3310fa1d34920d231113613
Author: Thiago Santos <thiagoss at osg.samsung.com>
Date: Fri Mar 13 18:35:14 2015 +0000
basesink: when draining, deep copy the last buffer to unref old memory
Use gst_buffer_copy_deep() to force the copy of the underlying
memory instead of possibly doing a shallow copy of the buffer
and just referencing the memory
https://bugzilla.gnome.org/show_bug.cgi?id=745287
commit 96eaeadc0f3cbad3cf35d26f542b8359d27e316d
Author: Thiago Santos <thiagoss at osg.samsung.com>
Date: Fri Mar 13 18:35:01 2015 +0000
gstbuffer: add gst_buffer_copy_deep
A variant of gst_buffer_copy that forces the underlying memory
to be copied.
This is added to avoid adding an extra reference to a GstMemory
that might belong to a bufferpool that is trying to be drained.
The use case is when the buffer copying is done to release the
old buffer and all its resources.
https://bugzilla.gnome.org/show_bug.cgi?id=745287
--
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