mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
uridecodebin: Removed setting "iradio-mode" property in the source element
The "iradio-mode" property used to have a default FALSE value in HTTP source elements but now it should default to TRUE or just do not exist as a property so it is not really needed to set it any more in uridecodebin. Apart from that this code could've never worked as uridecodebin looks for a string-typed iradio-mode property, but it's a boolean in all sources. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725383
This commit is contained in:
parent
e35cf63216
commit
09872442f8
1 changed files with 0 additions and 11 deletions
|
@ -1344,17 +1344,6 @@ gen_source_element (GstURIDecodeBin * decoder)
|
|||
|
||||
source_class = G_OBJECT_GET_CLASS (source);
|
||||
|
||||
/* make HTTP sources send extra headers so we get icecast
|
||||
* metadata in case the stream is an icecast stream */
|
||||
if (!strncmp (decoder->uri, "http://", 7)) {
|
||||
pspec = g_object_class_find_property (source_class, "iradio-mode");
|
||||
|
||||
if (pspec && G_PARAM_SPEC_VALUE_TYPE (pspec) == G_TYPE_STRING) {
|
||||
GST_LOG_OBJECT (decoder, "configuring iradio-mode");
|
||||
g_object_set (source, "iradio-mode", TRUE, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
pspec = g_object_class_find_property (source_class, "connection-speed");
|
||||
if (pspec != NULL) {
|
||||
guint64 speed = decoder->connection_speed / 1000;
|
||||
|
|
Loading…
Reference in a new issue