diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-11-09 11:47:10 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-11-09 11:47:10 +0100 |
commit | 6cc7254166a38a6d75d83ec911637d2755930789 (patch) | |
tree | cd309ce234ec4725b96010fcf1b51b5ad65effed /gst/gstpad.h | |
parent | ac9e5533b56c8ad5d5704cdd69d68a1986a331bf (diff) |
remove query types
It was not really useful
Diffstat (limited to 'gst/gstpad.h')
-rw-r--r-- | gst/gstpad.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gst/gstpad.h b/gst/gstpad.h index f7bd96d21..73152ce9a 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -367,16 +367,6 @@ typedef GstIterator* (*GstPadIterIntLinkFunction) (GstPad *pad); /* generic query function */ /** - * GstPadQueryTypeFunction: - * @pad: a #GstPad to query - * - * The signature of the query types function. - * - * Returns: a constant array of query types - */ -typedef const GstQueryType* (*GstPadQueryTypeFunction) (GstPad *pad); - -/** * GstPadQueryFunction: * @pad: the #GstPad to query. * @query: the #GstQuery object to execute @@ -701,7 +691,6 @@ struct _GstPad { gint64 offset; /* generic query method */ - GstPadQueryTypeFunction querytypefunc; GstPadQueryFunction queryfunc; /* internal links */ @@ -746,7 +735,6 @@ struct _GstPadClass { #define GST_PAD_CHAINLISTFUNC(pad) (GST_PAD_CAST(pad)->chainlistfunc) #define GST_PAD_GETRANGEFUNC(pad) (GST_PAD_CAST(pad)->getrangefunc) #define GST_PAD_EVENTFUNC(pad) (GST_PAD_CAST(pad)->eventfunc) -#define GST_PAD_QUERYTYPEFUNC(pad) (GST_PAD_CAST(pad)->querytypefunc) #define GST_PAD_QUERYFUNC(pad) (GST_PAD_CAST(pad)->queryfunc) #define GST_PAD_ITERINTLINKFUNC(pad) (GST_PAD_CAST(pad)->iterintlinkfunc) @@ -944,10 +932,6 @@ GstIterator * gst_pad_iterate_internal_links_default (GstPad * pad); /* generic query function */ -void gst_pad_set_query_type_function (GstPad *pad, GstPadQueryTypeFunction type_func); -const GstQueryType* gst_pad_get_query_types (GstPad *pad); -const GstQueryType* gst_pad_get_query_types_default (GstPad *pad); - gboolean gst_pad_query (GstPad *pad, GstQuery *query); gboolean gst_pad_peer_query (GstPad *pad, GstQuery *query); void gst_pad_set_query_function (GstPad *pad, GstPadQueryFunction query); |