From f4035e430a02bbdc876fb204397877a98d27e9ae Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 22 Sep 2017 17:20:35 +0200 Subject: [PATCH] urisourcebin: Remove 'unknown-type' signal It was never used and makes no sense in the new streams-based world --- gst/playback/gsturisourcebin.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/gst/playback/gsturisourcebin.c b/gst/playback/gsturisourcebin.c index 764eda4059..bb95875a83 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, @@ -519,22 +515,6 @@ gst_uri_source_bin_class_init (GstURISourceBinClass * klass) 0, G_MAXUINT, DEFAULT_RING_BUFFER_MAX_SIZE, 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.