~ubuntu-branches/ubuntu/saucy/phonon-backend-gstreamer/saucy-proposed

« back to all changes in this revision

Viewing changes to debian/patches/kubuntu_02_install_codec.diff

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2011-04-15 14:43:30 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110415144330-7uif3319lxdu4ltt
Tags: 4:4.7.0really4.5.0-0ubuntu2
* New upstream release
* Add kubuntu_02_install_codec.diff to fix codec install

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff --git a/gstreamer/plugininstaller.cpp b/gstreamer/plugininstaller.cpp
 
2
index a750d08..5871b52 100644
 
3
--- a/gstreamer/plugininstaller.cpp
 
4
+++ b/gstreamer/plugininstaller.cpp
 
5
@@ -109,15 +109,13 @@ QString PluginInstaller::buildInstallationString(const GstCaps *caps, PluginType
 
6
 {
 
7
     QString descType;
 
8
     switch(type) {
 
9
+        case Codec:
 
10
         case Decoder:
 
11
             descType = "decoder";
 
12
             break;
 
13
         case Encoder:
 
14
             descType = "encoder";
 
15
             break;
 
16
-        case Codec:
 
17
-            descType = "codec";
 
18
-            break;
 
19
         default:
 
20
             return 0;
 
21
     }