Fix some wrong prototypes and funtion args
authorWim Taymans <wim.taymans@gmail.com>
Sun, 28 Jul 2002 01:06:16 +0000 (01:06 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 28 Jul 2002 01:06:16 +0000 (01:06 +0000)
Original commit message from CVS:
Fix some wrong prototypes and funtion args

gst/elements/gstfilesrc.c
gst/gstevent.c
plugins/elements/gstfilesrc.c

index da725b6..3db097a 100644 (file)
@@ -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);
 
index 56fe3a4..739f458 100644 (file)
@@ -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;
index da725b6..3db097a 100644 (file)
@@ -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);