From 02de08aaaa9f860a16279eb5e036cece2ce828b1 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 10 Nov 2011 18:34:03 +0100 Subject: [PATCH] gme: Remove query_types --- ext/gme/gstgme.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ext/gme/gstgme.c b/ext/gme/gstgme.c index 5032b94974..eeef13cdf5 100644 --- a/ext/gme/gstgme.c +++ b/ext/gme/gstgme.c @@ -126,18 +126,6 @@ gst_gme_dec_class_init (GstGmeDecClass * klass) element_class->change_state = GST_DEBUG_FUNCPTR (gst_gme_dec_change_state); } -static const GstQueryType * -gst_gme_dec_src_query_type (GstPad * pad) -{ - static const GstQueryType query_types[] = { - GST_QUERY_DURATION, - GST_QUERY_POSITION, - (GstQueryType) 0 - }; - - return query_types; -} - static void gst_gme_dec_init (GstGmeDec * gme) @@ -151,7 +139,6 @@ gst_gme_dec_init (GstGmeDec * gme) gme->srcpad = gst_pad_new_from_static_template (&src_factory, "src"); gst_pad_set_event_function (gme->srcpad, gst_gme_dec_src_event); gst_pad_set_query_function (gme->srcpad, gst_gme_dec_src_query); - gst_pad_set_query_type_function (gme->srcpad, gst_gme_dec_src_query_type); gst_pad_use_fixed_caps (gme->srcpad); gst_element_add_pad (GST_ELEMENT (gme), gme->srcpad);