uridecodebin3: Remove "source" property
There is not necessarily a single urisourcebin inside uridecodebin3 so having a single source property makes little sense. Additionally, this property was never hooked up at all and always returned NULL. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7712>
This commit is contained in:
parent
8cf0d5a65c
commit
073831128b
@ -12289,17 +12289,6 @@
|
|||||||
"type": "guint64",
|
"type": "guint64",
|
||||||
"writable": true
|
"writable": true
|
||||||
},
|
},
|
||||||
"source": {
|
|
||||||
"blurb": "Source object used",
|
|
||||||
"conditionally-available": false,
|
|
||||||
"construct": false,
|
|
||||||
"construct-only": false,
|
|
||||||
"controllable": false,
|
|
||||||
"mutable": "null",
|
|
||||||
"readable": true,
|
|
||||||
"type": "GstElement",
|
|
||||||
"writable": false
|
|
||||||
},
|
|
||||||
"suburi": {
|
"suburi": {
|
||||||
"blurb": "Optional URI of a subtitle",
|
"blurb": "Optional URI of a subtitle",
|
||||||
"conditionally-available": false,
|
"conditionally-available": false,
|
||||||
|
@ -220,7 +220,6 @@ struct _GstURIDecodeBin3
|
|||||||
GstBin parent_instance;
|
GstBin parent_instance;
|
||||||
|
|
||||||
/* Properties */
|
/* Properties */
|
||||||
GstElement *source;
|
|
||||||
guint64 connection_speed; /* In bits/sec (0 = unknown) */
|
guint64 connection_speed; /* In bits/sec (0 = unknown) */
|
||||||
GstCaps *caps;
|
GstCaps *caps;
|
||||||
guint64 buffer_duration; /* When buffering, buffer duration (ns) */
|
guint64 buffer_duration; /* When buffering, buffer duration (ns) */
|
||||||
@ -312,7 +311,6 @@ enum
|
|||||||
PROP_CURRENT_URI,
|
PROP_CURRENT_URI,
|
||||||
PROP_SUBURI,
|
PROP_SUBURI,
|
||||||
PROP_CURRENT_SUBURI,
|
PROP_CURRENT_SUBURI,
|
||||||
PROP_SOURCE,
|
|
||||||
PROP_CONNECTION_SPEED,
|
PROP_CONNECTION_SPEED,
|
||||||
PROP_BUFFER_SIZE,
|
PROP_BUFFER_SIZE,
|
||||||
PROP_BUFFER_DURATION,
|
PROP_BUFFER_DURATION,
|
||||||
@ -444,10 +442,6 @@ gst_uri_decode_bin3_class_init (GstURIDecodeBin3Class * klass)
|
|||||||
"The currently playing URI of a subtitle",
|
"The currently playing URI of a subtitle",
|
||||||
NULL, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
NULL, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_SOURCE,
|
|
||||||
g_param_spec_object ("source", "Source", "Source object used",
|
|
||||||
GST_TYPE_ELEMENT, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
|
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_CONNECTION_SPEED,
|
g_object_class_install_property (gobject_class, PROP_CONNECTION_SPEED,
|
||||||
g_param_spec_uint64 ("connection-speed", "Connection Speed",
|
g_param_spec_uint64 ("connection-speed", "Connection Speed",
|
||||||
"Network connection speed in kbps (0 = unknown)",
|
"Network connection speed in kbps (0 = unknown)",
|
||||||
@ -1700,13 +1694,6 @@ gst_uri_decode_bin3_get_property (GObject * object, guint prop_id,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case PROP_SOURCE:
|
|
||||||
{
|
|
||||||
GST_OBJECT_LOCK (dec);
|
|
||||||
g_value_set_object (value, dec->source);
|
|
||||||
GST_OBJECT_UNLOCK (dec);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case PROP_CONNECTION_SPEED:
|
case PROP_CONNECTION_SPEED:
|
||||||
GST_OBJECT_LOCK (dec);
|
GST_OBJECT_LOCK (dec);
|
||||||
g_value_set_uint64 (value, dec->connection_speed / 1000);
|
g_value_set_uint64 (value, dec->connection_speed / 1000);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user