From 09872442f88286198883fee5e60c377ef0832a46 Mon Sep 17 00:00:00 2001 From: Andres Gomez Date: Tue, 4 Mar 2014 16:51:11 +0200 Subject: [PATCH] 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 --- gst/playback/gsturidecodebin.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index f21658f346..4dd43370e6 100644 --- a/gst/playback/gsturidecodebin.c +++ b/gst/playback/gsturidecodebin.c @@ -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;