event: Fix gir warning
authorWonchul Lee <w.lee@lge.com>
Tue, 12 Nov 2019 06:19:28 +0000 (15:19 +0900)
committerWonchul Lee <w.lee@lge.com>
Tue, 12 Nov 2019 06:19:28 +0000 (15:19 +0900)
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

index 2a6089f5c949dd20803dad38b81282c6e0857ffa..bfeff342eced30e425c923e212cd5fba7b4be548 100644 (file)
@@ -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);