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).
This commit is contained in:
Tim-Philipp Müller 2006-09-25 10:36:23 +00:00
parent 3a0f9058ba
commit e7fc450bc4
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstinfo.c:
Fix warning if HAVE_PRINTF_EXTENSION is undefined
(spotted by Peter Kjellerstedt).
2006-09-23 Wim Taymans <wim@fluendo.com>
Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>

View file

@ -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