[Bug 761916] gstinfo: Make GST_DEBUG_PAD_NAME "MT crash safe" (for gcc)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Feb 12 11:35:02 UTC 2016


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

Stian Selnes (stianse) <stian.selnes at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stian.selnes at gmail.com

--- Comment #2 from Stian Selnes (stianse) <stian.selnes at gmail.com> ---
The issue with an inline function is that we cannot return "''" from it when
the parent is NULL since it will go out of scope when returning. But if we
change the behavior of GST_DEBUG_PAD_NAME to return "(NULL):src" instead of
"'':src" when the pad has no parent it should work and definitely be nicer. I
can try and submit a patch.

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