urisourcebin: Remove 'unknown-type' signal

It was never used and makes no sense in the new streams-based world
This commit is contained in:
Edward Hervey 2017-09-22 17:20:35 +02:00
parent 0f51dde728
commit f4035e430a

View file

@ -169,9 +169,6 @@ struct _GstURISourceBinClass
{ {
GstBinClass parent_class; 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 */ /* signal fired to know if we continue trying to decode the given caps */
gboolean (*autoplug_continue) (GstElement * element, GstPad * pad, gboolean (*autoplug_continue) (GstElement * element, GstPad * pad,
GstCaps * caps); GstCaps * caps);
@ -206,7 +203,6 @@ GST_DEBUG_CATEGORY_STATIC (gst_uri_source_bin_debug);
/* signals */ /* signals */
enum enum
{ {
SIGNAL_UNKNOWN_TYPE,
SIGNAL_AUTOPLUG_CONTINUE, SIGNAL_AUTOPLUG_CONTINUE,
SIGNAL_AUTOPLUG_FACTORIES, SIGNAL_AUTOPLUG_FACTORIES,
SIGNAL_AUTOPLUG_SELECT, SIGNAL_AUTOPLUG_SELECT,
@ -519,22 +515,6 @@ gst_uri_source_bin_class_init (GstURISourceBinClass * klass)
0, G_MAXUINT, DEFAULT_RING_BUFFER_MAX_SIZE, 0, G_MAXUINT, DEFAULT_RING_BUFFER_MAX_SIZE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 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: * GstURISourceBin::autoplug-continue:
* @bin: The urisourcebin. * @bin: The urisourcebin.