diff --git a/gst/gstevent.c b/gst/gstevent.c index ad63b78148..617aacbce1 100644 --- a/gst/gstevent.c +++ b/gst/gstevent.c @@ -194,7 +194,7 @@ gst_event_new_seek (GstSeekType type, gint64 offset) } /** - * gst_event_new_discontinuousv: + * gst_event_new_discontinuous_valist: * @new_media: A flag indicating a new media type starts * @format1: The format of the discont value * @var_args: more discont values and formats @@ -207,7 +207,7 @@ gst_event_new_seek (GstSeekType type, gint64 offset) * Returns: A new discontinuous event. */ GstEvent* -gst_event_new_discontinuousv (gboolean new_media, GstFormat format1, va_list var_args) +gst_event_new_discontinuous_valist (gboolean new_media, GstFormat format1, va_list var_args) { GstEvent *event; gint count = 0; diff --git a/gst/gstevent.h b/gst/gstevent.h index a060dc9dca..aea4584943 100644 --- a/gst/gstevent.h +++ b/gst/gstevent.h @@ -215,7 +215,7 @@ GstEvent* gst_event_new_size (GstFormat format, gint64 value); /* discontinous event */ GstEvent* gst_event_new_discontinuous (gboolean new_media, GstFormat format1, ...); -GstEvent* gst_event_new_discontinuousv (gboolean new_media, +GstEvent* gst_event_new_discontinuous_valist (gboolean new_media, GstFormat format1, va_list var_args); gboolean gst_event_discont_get_value (GstEvent *event, GstFormat format, gint64 *value);