From: Tim-Philipp Müller Date: Sat, 28 Oct 2006 15:03:19 +0000 (+0000) Subject: win32/common/gstconfig.h: Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to... X-Git-Tag: RELEASE-0_10_11~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54f345951d210cb5625a633efa07b50acdf0e45b;p=platform%2Fupstream%2Fgstreamer.git win32/common/gstconfig.h: Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the hand-made win32 gstconfig.h. F... Original commit message from CVS: * win32/common/gstconfig.h: Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the hand-made win32 gstconfig.h. Fixes #366321. --- diff --git a/ChangeLog b/ChangeLog index 233cfe8156..254ecd67d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-10-28 Tim-Philipp Müller + + * win32/common/gstconfig.h: + Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the + hand-made win32 gstconfig.h. Fixes #366321. + 2006-10-27 Wim Taymans * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps), diff --git a/win32/common/gstconfig.h b/win32/common/gstconfig.h index 28ecebbe60..e92bcd54c6 100644 --- a/win32/common/gstconfig.h +++ b/win32/common/gstconfig.h @@ -115,6 +115,21 @@ */ #define GST_PTR_FORMAT "p" +/** + * GST_SEGMENT_FORMAT: + * + * printf format type used to debug GStreamer segments. + * This can only be used on pointers to GstSegment structures. + * + * Since: 0.10.10 + */ +#define GST_SEGMENT_FORMAT "p" + +/* whether or not GST_PTR_FORMAT or GST_SEGMENT_FORMAT are using + * the printf extension mechanism. This is for internal use in our + * header files so we know whether we can use G_GNUC_PRINTF or not */ +#undef GST_USING_PRINTF_EXTENSION + /* whether or not the CPU supports unaligned access */ #define GST_HAVE_UNALIGNED_ACCESS 1