From 5c6314d68b94aedcd21738b4785545cfdca2693b Mon Sep 17 00:00:00 2001 From: Wonchul Lee Date: Tue, 12 Nov 2019 15:19:28 +0900 Subject: [PATCH] event: Fix gir warning It fixes below gir warnings. ../subprojects/gstreamer/gst/gstevent.c:2246: Warning: Gst: gst_event_new_instant_rate_sync_time: unknown parameter 'rate_multiplier' in documentation comment, should be 'rate' ../subprojects/gstreamer/gst/gstevent.c:2296: Warning: Gst: gst_event_parse_instant_rate_sync_time: unknown parameter 'rate_multiplier' in documentation comment, should be 'rate' --- gst/gstevent.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/gstevent.h b/gst/gstevent.h index 2a6089f5c9..bfeff342ec 100644 --- a/gst/gstevent.h +++ b/gst/gstevent.h @@ -752,13 +752,13 @@ void gst_event_parse_instant_rate_change (GstEvent *event, /* instant-rate-change-sync-time event */ GST_API -GstEvent * gst_event_new_instant_rate_sync_time (gdouble rate, +GstEvent * gst_event_new_instant_rate_sync_time (gdouble rate_multiplier, GstClockTime running_time, GstClockTime upstream_running_time) G_GNUC_MALLOC; GST_API void gst_event_parse_instant_rate_sync_time (GstEvent *event, - gdouble *rate, + gdouble *rate_multiplier, GstClockTime *running_time, GstClockTime *upstream_running_time);