[Bug 673976] pbutils: codec description should include profile
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Feb 27 12:11:21 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=673976
--- Comment #9 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
It was a linking problem, you didn't make the strings static, so on my system,
the space was just re-used after returning from the function.
That said, I'm not sure my fix is enough, as I think that they should be made
into global constants. I'm not certain the C spec guarantees that a static
const inside a function is valid when leaving the scope.
At least this makes it work:
commit 6046421ecc086db350c6f193bcb6a737934b1069
Author: Olivier CrĂȘte <olivier.crete at collabora.com>
Date: Fri Feb 27 15:07:36 2015 -0500
pbutils: description: Make static strings static
Otherwise, they're not guaranteed to still be valid when leaving the scope.
https://bugzilla.gnome.org/show_bug.cgi?id=673976
--
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