From e3c9576f3ca00ec8463479f137e6e06dddf2c0c7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 28 Jul 2002 01:06:16 +0000 Subject: [PATCH] Fix some wrong prototypes and funtion args Original commit message from CVS: Fix some wrong prototypes and funtion args --- gst/elements/gstfilesrc.c | 2 +- gst/gstevent.c | 2 +- plugins/elements/gstfilesrc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/elements/gstfilesrc.c b/gst/elements/gstfilesrc.c index da725b641b..3db097a852 100644 --- a/gst/elements/gstfilesrc.c +++ b/gst/elements/gstfilesrc.c @@ -111,7 +111,7 @@ static GstBuffer * gst_filesrc_get (GstPad *pad); static const GstFormat* gst_filesrc_get_formats (GstPad *pad); static gboolean gst_filesrc_srcpad_event (GstPad *pad, GstEvent *event); static gboolean gst_filesrc_srcpad_query (GstPad *pad, GstPadQueryType type, - GstSeekType *format, gint64 *value); + GstFormat *format, gint64 *value); static GstElementStateReturn gst_filesrc_change_state (GstElement *element); diff --git a/gst/gstevent.c b/gst/gstevent.c index 56fe3a4c46..739f458e7e 100644 --- a/gst/gstevent.c +++ b/gst/gstevent.c @@ -151,7 +151,7 @@ gst_event_new_seek (GstSeekType type, gint64 offset) * Returns: A new discontinuous event. */ GstEvent* -gst_event_new_discontinuous (gboolean new_media, GstSeekType format1, ...) +gst_event_new_discontinuous (gboolean new_media, GstFormat format1, ...) { va_list var_args; GstEvent *event; diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c index da725b641b..3db097a852 100644 --- a/plugins/elements/gstfilesrc.c +++ b/plugins/elements/gstfilesrc.c @@ -111,7 +111,7 @@ static GstBuffer * gst_filesrc_get (GstPad *pad); static const GstFormat* gst_filesrc_get_formats (GstPad *pad); static gboolean gst_filesrc_srcpad_event (GstPad *pad, GstEvent *event); static gboolean gst_filesrc_srcpad_query (GstPad *pad, GstPadQueryType type, - GstSeekType *format, gint64 *value); + GstFormat *format, gint64 *value); static GstElementStateReturn gst_filesrc_change_state (GstElement *element);