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:
Sebastian Dröge 2024-10-23 11:49:05 +03:00 committed by GStreamer Marge Bot
parent 8cf0d5a65c
commit 073831128b
2 changed files with 0 additions and 24 deletions

View file

@ -12289,17 +12289,6 @@
"type": "guint64",
"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": {
"blurb": "Optional URI of a subtitle",
"conditionally-available": false,

View file

@ -220,7 +220,6 @@ struct _GstURIDecodeBin3
GstBin parent_instance;
/* Properties */
GstElement *source;
guint64 connection_speed; /* In bits/sec (0 = unknown) */
GstCaps *caps;
guint64 buffer_duration; /* When buffering, buffer duration (ns) */
@ -312,7 +311,6 @@ enum
PROP_CURRENT_URI,
PROP_SUBURI,
PROP_CURRENT_SUBURI,
PROP_SOURCE,
PROP_CONNECTION_SPEED,
PROP_BUFFER_SIZE,
PROP_BUFFER_DURATION,
@ -444,10 +442,6 @@ gst_uri_decode_bin3_class_init (GstURIDecodeBin3Class * klass)
"The currently playing URI of a subtitle",
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_param_spec_uint64 ("connection-speed", "Connection Speed",
"Network connection speed in kbps (0 = unknown)",
@ -1700,13 +1694,6 @@ gst_uri_decode_bin3_get_property (GObject * object, guint prop_id,
}
break;
}
case PROP_SOURCE:
{
GST_OBJECT_LOCK (dec);
g_value_set_object (value, dec->source);
GST_OBJECT_UNLOCK (dec);
break;
}
case PROP_CONNECTION_SPEED:
GST_OBJECT_LOCK (dec);
g_value_set_uint64 (value, dec->connection_speed / 1000);