summaryrefslogtreecommitdiffstats
path: root/gst/wavparse
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-12-30 17:53:18 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-12-30 17:53:18 +0000
commit4d36ba7e87583f5ad00ac3145542f0f22e1d3f0b (patch)
treebed6436143f8908188f632eaafb9b4d292a76229 /gst/wavparse
parent88b88e114e69c82c62b69d3af3962ea7a1ce554f (diff)
Fix plugins for new query API
Original commit message from CVS: Fix plugins for new query API
Diffstat (limited to 'gst/wavparse')
-rw-r--r--gst/wavparse/gstwavparse.c14
1 files changed, 7 insertions, 7 deletions
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;