From: Tim-Philipp Müller Date: Tue, 4 Jan 2011 00:48:15 +0000 (+0000) Subject: gstinfo: don't use printf extensions if GLib isn't using the system printf X-Git-Tag: RELEASE-0.10.32~44 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=98900a43c1964f5fd37e80e5f45518bbe875413b;p=platform%2Fupstream%2Fgstreamer.git gstinfo: don't use printf extensions if GLib isn't using the system printf Might help with https://bugzilla.gnome.org/show_bug.cgi?id=638599 --- diff --git a/gst/gstconfig.h.in b/gst/gstconfig.h.in index e23ea03..4138b18 100644 --- 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