소스 검색

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 년 전
부모
커밋
a6f5f6f2f2
2개의 변경된 파일2개의 추가작업 그리고 9개의 파일을 삭제
  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;
 }
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////