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

List:       kde-commits
Subject:    =?utf-8?q?=5Bphonon-gstreamer=5D_gstreamer=3A_Use_the_correct_in?=
From:       Trever Fischer <wm161 () wm161 ! net>
Date:       2011-05-03 1:09:30
Message-ID: 20110503010930.C1EB1A60A6 () git ! kde ! org
[Download RAW message or body]

Git commit 7a7a9812941504de5c9bf7db292ce35ec7ced824 by Trever Fischer.
Committed on 03/05/2011 at 02:54.
Pushed by tdfischer into branch 'master'.

Use the correct installation details for plugin installs

M  +4    -1    gstreamer/plugininstaller.cpp     

http://commits.kde.org/phonon-gstreamer/7a7a9812941504de5c9bf7db292ce35ec7ced824

diff --git a/gstreamer/plugininstaller.cpp b/gstreamer/plugininstaller.cpp
index 6688789..6486a4a 100644
--- a/gstreamer/plugininstaller.cpp
+++ b/gstreamer/plugininstaller.cpp
@@ -268,7 +268,10 @@ PluginInstaller::InstallStatus PluginInstaller::checkInstalledPlugins()
 QString PluginInstaller::getCapType(const GstCaps *caps)
 {
     GstStructure *str = gst_caps_get_structure(caps, 0);
-    return QString::fromUtf8(gst_structure_get_name(str));
+    gchar *strstr = gst_structure_to_string(str);
+    QString capType = QString::fromUtf8(strstr);
+    g_free(strstr);
+    return capType;
 }
 
 void PluginInstaller::reset()


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

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