Merge branch 'master' of fraxinas@git.opendreambox.org:/git/enigma2
authorFraxinas <andreas.frisch@multimedia-labs.de>
Wed, 27 May 2009 09:36:01 +0000 (11:36 +0200)
committerFraxinas <andreas.frisch@multimedia-labs.de>
Wed, 27 May 2009 09:36:01 +0000 (11:36 +0200)
lib/service/servicemp3.cpp

index 7c00121..1f3e2d0 100644 (file)
@@ -1134,6 +1134,8 @@ void eServiceMP3::gstBusCall(GstBus *bus, GstMessage *msg)
                                GstPad* pad = 0;
                                g_signal_emit_by_name (m_gst_playbin, "get-audio-pad", i, &pad);
                                GstCaps* caps = gst_pad_get_negotiated_caps(pad);
+                               if (!caps)
+                                       continue;
                                GstStructure* str = gst_caps_get_structure(caps, 0);
 gchar *g_type;
 g_type = gst_structure_get_name(str);