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

List:       kde-commits
Subject:    kdereview/phonon/gstreamer
From:       Jens Bache-Wiig <jbache () trolltech ! com>
Date:       2008-04-04 15:31:33
Message-ID: 1207323093.968174.5474.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 793614 by jbache:

Fixed a crash on missing plugins



 M  +2 -2      mediaobject.cpp  


--- trunk/kdereview/phonon/gstreamer/mediaobject.cpp #793613:793614
@@ -206,9 +206,9 @@
     if (!p_gst_pb_utils_init) {
         p_gst_pb_utils_init =  \
(Ptr_gst_pb_utils_init)QLibrary::resolve(QLatin1String("gstpbutils-0.10"), 0, \
"gst_pb_utils_init");  p_gst_pb_utils_get_codec_description =  \
(Ptr_gst_pb_utils_get_codec_description)QLibrary::resolve(QLatin1String("gstpbutils-0.10"), \
                0, "gst_pb_utils_get_codec_description");
-        p_gst_pb_utils_init();
+        if (p_gst_pb_utils_init)
+	    p_gst_pb_utils_init();
     }
-
     if (p_gst_pb_utils_get_codec_description) {
         gchar *codecName = NULL;
         codecName = p_gst_pb_utils_get_codec_description (caps);


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

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