From 4d36ba7e87583f5ad00ac3145542f0f22e1d3f0b Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 30 Dec 2002 17:53:18 +0000 Subject: Fix plugins for new query API Original commit message from CVS: Fix plugins for new query API --- gst/wavparse/gstwavparse.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gst/wavparse') diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index ab6fceb4..8eb863b8 100644 --- a/gst/wavparse/gstwavparse.c +++ b/gst/wavparse/gstwavparse.c @@ -28,10 +28,10 @@ static void gst_wavparse_init (GstWavParse *wavparse); static GstCaps* wav_type_find (GstBuffer *buf, gpointer private); static const GstFormat* gst_wavparse_get_formats (GstPad *pad); -static const GstPadQueryType * +static const GstQueryType * gst_wavparse_get_query_types (GstPad *pad); static gboolean gst_wavparse_pad_query (GstPad *pad, - GstPadQueryType type, + GstQueryType type, GstFormat *format, gint64 *value); static gboolean gst_wavparse_pad_convert (GstPad *pad, @@ -455,19 +455,19 @@ gst_wavparse_pad_convert (GstPad *pad, return TRUE; } -static const GstPadQueryType * +static const GstQueryType * gst_wavparse_get_query_types (GstPad *pad) { - static const GstPadQueryType types[] = { - GST_PAD_QUERY_TOTAL, - GST_PAD_QUERY_POSITION + static const GstQueryType types[] = { + GST_QUERY_TOTAL, + GST_QUERY_POSITION }; return types; } /* handle queries for location and length in requested format */ static gboolean -gst_wavparse_pad_query (GstPad *pad, GstPadQueryType type, +gst_wavparse_pad_query (GstPad *pad, GstQueryType type, GstFormat *format, gint64 *value) { GstFormat peer_format = GST_FORMAT_BYTES; -- cgit