[Bug 756492] gl: fix leak in gst_gl_insert_debug_marker

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Oct 13 15:36:08 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=756492

Matthew Waters <ystreet00 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ystreet00 at gmail.com

--- Comment #5 from Matthew Waters <ystreet00 at gmail.com> ---
I don't see any cases where the passed data would need to be live forever. 
This functionality would be entirely CPU side so does not need any
synchronisation on the GPU.  If there's a debug callback (which gstgl adds),
the message is passed directly to the callback otherwise it will be copied when
added to the debug message queue (retrieved by glGetDebugMessageLog).

Typically the convention is that most data that is passed to GL can be freed
when the GL function finishes so this patch is correct.  The only cases I know
of where this is false are related to buffer transfers.

-- 
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