Browse Source

Remove system audio codec setting

This was enabled for testing. We don't need it anymore.

Still keep the video system code setting. They are not enabled by
default yet, so toggling them has value for testing. But hide the
setting from the UI.
Vincent Lang 8 years ago
parent
commit
a6f5f6f2f2
2 changed files with 2 additions and 9 deletions
  1. 1 8
      resources/settings/settings_description.json
  2. 1 1
      src/player/CodecsComponent.cpp

+ 1 - 8
resources/settings/settings_description.json

@@ -96,7 +96,6 @@
         "hidden": true
       },
       {
-        // Warning: we should make this hidden or remove it later on
         "value": "useSystemVideoCodecs",
         "default": [
           {
@@ -108,13 +107,7 @@
             "value": false
           }
         ],
-        "hidden": false
-      },
-      {
-        // Warning: we should make this hidden or remove it later on
-        "value": "useSystemAudioCodecs2",
-        "default": true,
-        "hidden": false
+        "hidden": true
       }
     ]
   },

+ 1 - 1
src/player/CodecsComponent.cpp

@@ -534,7 +534,7 @@ void Downloader::networkFinished(QNetworkReply* pReply)
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 static bool useSystemAudioDecoders()
 {
-  return SettingsComponent::Get().value(SETTINGS_SECTION_MAIN, "useSystemAudioCodecs2").toBool();
+  return true;
 }
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////