From e7fc450bc4d38973ba1f89f2a0324ed53ff06beb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 25 Sep 2006 10:36:23 +0000 Subject: [PATCH] gst/gstinfo.c: Fix warning if HAVE_PRINTF_EXTENSION is undefined (spotted by Peter Kjellerstedt). Original commit message from CVS: * gst/gstinfo.c: Fix warning if HAVE_PRINTF_EXTENSION is undefined (spotted by Peter Kjellerstedt). --- ChangeLog | 6 ++++++ gst/gstinfo.c | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6fed5db..069d754 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-09-25 Tim-Philipp Müller + + * gst/gstinfo.c: + Fix warning if HAVE_PRINTF_EXTENSION is undefined + (spotted by Peter Kjellerstedt). + 2006-09-23 Wim Taymans Based on patch by: Antoine Tremblay diff --git a/gst/gstinfo.c b/gst/gstinfo.c index 9ad91a1..066e44c 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -511,6 +511,8 @@ gst_debug_print_object (gpointer ptr) return g_strdup_printf ("%p", ptr); } +#ifdef HAVE_PRINTF_EXTENSION + static gchar * gst_debug_print_segment (gpointer ptr) { @@ -553,6 +555,8 @@ gst_debug_print_segment (gpointer ptr) } } +#endif /* HAVE_PRINTF_EXTENSION */ + /** * gst_debug_construct_term_color: * @colorinfo: the color info -- 2.7.4