Merge branch 'master' into bug_374_missingcodecwarning master-2011.03
authorFraxinas <andreas.frisch@multimedia-labs.de>
Thu, 24 Feb 2011 09:52:22 +0000 (10:52 +0100)
committerFraxinas <andreas.frisch@multimedia-labs.de>
Thu, 24 Feb 2011 09:52:22 +0000 (10:52 +0100)
lib/service/servicemp3.cpp

index e1217b589dee1237eef529217183094404fe234e..be55d0cd331c55008af6bcee317624ac2d46cd36 100644 (file)
@@ -361,6 +361,10 @@ eServiceMP3::eServiceMP3(eServiceReference ref)
                        eDebug("eServiceMP3::subtitle uri: %s", g_filename_to_uri(srt_filename, NULL, NULL));
                        g_object_set (G_OBJECT (m_gst_playbin), "suburi", g_filename_to_uri(srt_filename, NULL, NULL), NULL);
                }
+               if ( m_sourceinfo.is_streaming )
+               {
+                       g_signal_connect (G_OBJECT (m_gst_playbin), "notify::source", G_CALLBACK (gstHTTPSourceSetAgent), this);
+               }
        } else
        {
                m_event((iPlayableService*)this, evUser+12);