[Bug 761916] gstinfo: Make GST_DEBUG_PAD_NAME "MT crash safe" (for gcc)
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Feb 13 16:26:47 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=761916
--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
> 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.
I don't think this is true? As far as I'm aware it's perfectly fine to return a
string literal from a function, its lifetime is basically the same as a static
variable.
--
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