mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
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
This commit is contained in:
parent
4f94b94bff
commit
98900a43c1
1 changed files with 3 additions and 1 deletions
|
@ -174,7 +174,9 @@
|
||||||
*
|
*
|
||||||
* (not official API)
|
* (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
|
#undef GST_PTR_FORMAT
|
||||||
#define GST_PTR_FORMAT "p"
|
#define GST_PTR_FORMAT "p"
|
||||||
#undef GST_SEGMENT_FORMAT
|
#undef GST_SEGMENT_FORMAT
|
||||||
|
|
Loading…
Reference in a new issue