[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Bphonon-gstreamer=5D_gstreamer=3A_fix_MRL_scheme_com?=
From:       Trever Fischer <wm161 () wm161 ! net>
Date:       2011-03-24 0:39:46
Message-ID: 20110324003946.866ACA609B () git ! kde ! org
[Download RAW message or body]

Git commit d2c32e3636f31b522f2997d42ddd1b701c6fc37a by Trever Fischer.
Committed on 24/03/2011 at 01:39.
Pushed by tdfischer into branch 'master'.

fix MRL scheme comparison

M  +1    -1    gstreamer/mediaobject.cpp     

http://commits.kde.org/phonon-gstreamer/d2c32e3636f31b522f2997d42ddd1b701c6fc37a

diff --git a/gstreamer/mediaobject.cpp b/gstreamer/mediaobject.cpp
index ca5a26c..01f8bd6 100644
--- a/gstreamer/mediaobject.cpp
+++ b/gstreamer/mediaobject.cpp
@@ -480,7 +480,7 @@ bool MediaObject::createPipefromURL(const Mrl &mrl)
 
     /* make HTTP sources send extra headers so we get icecast
      * metadata in case the stream is an icecast stream */
-    if (mrl.scheme() == QLatin1String("http://")
+    if (mrl.scheme() == QLatin1String("http")
         && g_object_class_find_property (G_OBJECT_GET_CLASS (m_datasource), "iradio-mode")) {
         g_object_set (m_datasource, "iradio-mode", TRUE, NULL);
         m_isStream = true;

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic