projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f94b94
)
gstinfo: don't use printf extensions if GLib isn't using the system printf
author
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 4 Jan 2011 00:48:15 +0000
(
00:48
+0000)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 4 Jan 2011 00:55:47 +0000
(
00:55
+0000)
Might help with https://bugzilla.gnome.org/show_bug.cgi?id=638599
gst/gstconfig.h.in
patch
|
blob
|
history
diff --git
a/gst/gstconfig.h.in
b/gst/gstconfig.h.in
index e23ea03da4dea8a4a722f19ef1f208b412558e6e..4138b183e4111dfca7d21a0e8eab23582aaafd5a 100644
(file)
--- a/
gst/gstconfig.h.in
+++ b/
gst/gstconfig.h.in
@@
-174,7
+174,9
@@
*
* (not official API)
*/
-#ifdef GST_DISABLE_PRINTF_EXTENSION
+/* If GLib is not using the system printf, we can't use the registered
+ * extensions because the GLib-internal printf won't know how to parse them */
+#if defined(GST_DISABLE_PRINTF_EXTENSION) || !defined(GLIB_USING_SYSTEM_PRINTF)
#undef GST_PTR_FORMAT
#define GST_PTR_FORMAT "p"
#undef GST_SEGMENT_FORMAT