From 9251cd9bf502aa2f218b8cfc65e85439133e4a05 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Tue, 16 Oct 2018 19:35:03 +0300 Subject: [PATCH] gst: skip format specifiers from gir generation GST_TIME_FORMAT, GST_TIME_ARGS, GST_STIME_FORMAT, GST_STIME_ARGS GST_PTR_FORMAT, GST_SEGMENT_FORMAT, GST_FOURCC_FORMAT and GST_FOURCC_ARGS are format specifiers. They can't be used outside of C and should be generated in the gir. https://bugzilla.gnome.org/show_bug.cgi?id=797320 --- gst/gstclock.h | 8 ++++---- gst/gstinfo.h | 4 ++-- gst/gstvalue.h | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gst/gstclock.h b/gst/gstclock.h index 4d2df75..c80eeba 100644 --- a/gst/gstclock.h +++ b/gst/gstclock.h @@ -213,7 +213,7 @@ G_STMT_START { \ /* timestamp debugging macros */ /** - * GST_TIME_FORMAT: + * GST_TIME_FORMAT: (skip): * * A string that can be used in printf-like format strings to display a * #GstClockTime value in h:m:s format. Use GST_TIME_ARGS() to construct @@ -226,7 +226,7 @@ G_STMT_START { \ */ #define GST_TIME_FORMAT "u:%02u:%02u.%09u" /** - * GST_TIME_ARGS: + * GST_TIME_ARGS: (skip): * @t: a #GstClockTime * * Format @t for the #GST_TIME_FORMAT format string. Note: @t will be @@ -242,7 +242,7 @@ G_STMT_START { \ GST_CLOCK_TIME_IS_VALID (t) ? \ (guint) (((GstClockTime)(t)) % GST_SECOND) : 999999999 /** - * GST_STIME_FORMAT: + * GST_STIME_FORMAT: (skip): * * A string that can be used in printf-like format strings to display a signed * #GstClockTimeDiff or #gint64 value in h:m:s format. Use GST_TIME_ARGS() to @@ -257,7 +257,7 @@ G_STMT_START { \ */ #define GST_STIME_FORMAT "c%" GST_TIME_FORMAT /** - * GST_STIME_ARGS: + * GST_STIME_ARGS: (skip): * @t: a #GstClockTimeDiff or #gint64 * * Format @t for the #GST_STIME_FORMAT format string. Note: @t will be diff --git a/gst/gstinfo.h b/gst/gstinfo.h index 6816e9e..2016d4e 100644 --- a/gst/gstinfo.h +++ b/gst/gstinfo.h @@ -271,7 +271,7 @@ struct _GstDebugCategory { #endif /* ifndef GST_FUNCTION */ /** - * GST_PTR_FORMAT: + * GST_PTR_FORMAT: (skip): * * printf format type used to debug GStreamer types. You can use this in * combination with GStreamer's debug logging system as well as the functions @@ -287,7 +287,7 @@ struct _GstDebugCategory { #define GST_PTR_FORMAT "p\aA" /** - * GST_SEGMENT_FORMAT: + * GST_SEGMENT_FORMAT: (skip): * * printf format type used to debug GStreamer segments. You can use this in * combination with GStreamer's debug logging system as well as the functions diff --git a/gst/gstvalue.h b/gst/gstvalue.h index c44493c..7eeaf39 100644 --- a/gst/gstvalue.h +++ b/gst/gstvalue.h @@ -62,7 +62,7 @@ G_BEGIN_DECLS #define GST_STR_FOURCC(f) ((guint32)(((f)[0])|((f)[1]<<8)|((f)[2]<<16)|((f)[3]<<24))) /** - * GST_FOURCC_FORMAT: + * GST_FOURCC_FORMAT: (skip): * * Can be used together with #GST_FOURCC_ARGS to properly output a * #guint32 fourcc value in a printf()-style text message. @@ -75,7 +75,7 @@ G_BEGIN_DECLS #define GST_FOURCC_FORMAT "c%c%c%c" /** - * GST_FOURCC_ARGS: + * GST_FOURCC_ARGS: (skip): * @fourcc: a #guint32 fourcc value to output * * Can be used together with #GST_FOURCC_FORMAT to properly output a -- 2.7.4