diff options
author | Edward Hervey <bilboed@bilboed.com> | 2017-09-22 17:20:35 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2018-02-10 12:16:09 +0100 |
commit | f4035e430a02bbdc876fb204397877a98d27e9ae (patch) | |
tree | e30398bc08ef85f25ff65c1ac77078ff5a23b540 | |
parent | 0f51dde7288019bc59fd038eb2abaaffe96ddb49 (diff) |
urisourcebin: Remove 'unknown-type' signal
It was never used and makes no sense in the new streams-based world
-rw-r--r-- | gst/playback/gsturisourcebin.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gst/playback/gsturisourcebin.c b/gst/playback/gsturisourcebin.c index 764eda405..bb95875a8 100644 --- a/gst/playback/gsturisourcebin.c +++ b/gst/playback/gsturisourcebin.c @@ -169,9 +169,6 @@ struct _GstURISourceBinClass { GstBinClass parent_class; - /* signal fired when we found a pad that we cannot decode */ - void (*unknown_type) (GstElement * element, GstPad * pad, GstCaps * caps); - /* signal fired to know if we continue trying to decode the given caps */ gboolean (*autoplug_continue) (GstElement * element, GstPad * pad, GstCaps * caps); @@ -206,7 +203,6 @@ GST_DEBUG_CATEGORY_STATIC (gst_uri_source_bin_debug); /* signals */ enum { - SIGNAL_UNKNOWN_TYPE, SIGNAL_AUTOPLUG_CONTINUE, SIGNAL_AUTOPLUG_FACTORIES, SIGNAL_AUTOPLUG_SELECT, @@ -520,22 +516,6 @@ gst_uri_source_bin_class_init (GstURISourceBinClass * klass) G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); /** - * GstURISourceBin::unknown-type: - * @bin: The urisourcebin. - * @pad: the new pad containing caps that cannot be resolved to a 'final'. - * stream type. - * @caps: the #GstCaps of the pad that cannot be resolved. - * - * This signal is emitted when a pad for which there is no further possible - * decoding is added to the urisourcebin. - */ - gst_uri_source_bin_signals[SIGNAL_UNKNOWN_TYPE] = - g_signal_new ("unknown-type", G_TYPE_FROM_CLASS (klass), - G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstURISourceBinClass, unknown_type), - NULL, NULL, g_cclosure_marshal_generic, G_TYPE_NONE, 2, - GST_TYPE_PAD, GST_TYPE_CAPS); - - /** * GstURISourceBin::autoplug-continue: * @bin: The urisourcebin. * @pad: The #GstPad. |