diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-11-09 10:02:39 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-11-09 10:02:39 +0100 |
commit | 93d8ee4ffadcdfc540d50fbabd9dde949ba0d75f (patch) | |
tree | ff3e50cf729847c849be19e71dab93e76bf2f5da /gst/gstpad.h | |
parent | 642a4697fe1a48db2948d8bb006e6164291bb45e (diff) |
pad: make internal links a GstQueryintlinks-query
Diffstat (limited to 'gst/gstpad.h')
-rw-r--r-- | gst/gstpad.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gst/gstpad.h b/gst/gstpad.h index f7bd96d21..f067defe2 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -349,22 +349,6 @@ typedef GstFlowReturn (*GstPadGetRangeFunction) (GstPad *pad, guint64 offset, typedef gboolean (*GstPadEventFunction) (GstPad *pad, GstEvent *event); -/* internal links */ -/** - * GstPadIterIntLinkFunction: - * @pad: The #GstPad to query. - * - * The signature of the internal pad link iterator function. - * - * Returns: a new #GstIterator that will iterate over all pads that are - * linked to the given pad on the inside of the parent element. - * - * the caller must call gst_iterator_free() after usage. - * - * Since 0.10.21 - */ -typedef GstIterator* (*GstPadIterIntLinkFunction) (GstPad *pad); - /* generic query function */ /** * GstPadQueryTypeFunction: @@ -704,9 +688,6 @@ struct _GstPad { GstPadQueryTypeFunction querytypefunc; GstPadQueryFunction queryfunc; - /* internal links */ - GstPadIterIntLinkFunction iterintlinkfunc; - /*< private >*/ /* counts number of probes attached. */ gint num_probes; @@ -748,7 +729,6 @@ struct _GstPadClass { #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) #define GST_PAD_PEER(pad) (GST_PAD_CAST(pad)->peer) #define GST_PAD_LINKFUNC(pad) (GST_PAD_CAST(pad)->linkfunc) @@ -937,11 +917,7 @@ gboolean gst_pad_pause_task (GstPad *pad); gboolean gst_pad_stop_task (GstPad *pad); /* internal links */ -void gst_pad_set_iterate_internal_links_function (GstPad * pad, - GstPadIterIntLinkFunction iterintlink); GstIterator * gst_pad_iterate_internal_links (GstPad * pad); -GstIterator * gst_pad_iterate_internal_links_default (GstPad * pad); - /* generic query function */ void gst_pad_set_query_type_function (GstPad *pad, GstPadQueryTypeFunction type_func); |