Disable AV1 by default.

This commit is contained in:
Kavin 2022-06-06 05:55:01 +01:00
parent 0349318f67
commit 0843f9c332
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD
2 changed files with 3 additions and 3 deletions

View file

@ -270,7 +270,7 @@ export default {
{ code: "zh_Hant", name: "繁體中文" },
{ code: "zh_Hans", name: "简体中文" },
],
enabledCodecs: ["av1", "vp9", "avc"],
enabledCodecs: ["vp9", "avc"],
disableLBRY: false,
proxyLBRY: false,
};
@ -356,7 +356,7 @@ export default {
this.minimizeDescription = this.getPreferenceBoolean("minimizeDescription", false);
this.watchHistory = this.getPreferenceBoolean("watchHistory", false);
this.selectedLanguage = this.getPreferenceString("hl", this.defaultLangage);
this.enabledCodecs = this.getPreferenceString("enabledCodecs", "av1,vp9,avc").split(",");
this.enabledCodecs = this.getPreferenceString("enabledCodecs", "vp9,avc").split(",");
this.disableLBRY = this.getPreferenceBoolean("disableLBRY", false);
this.proxyLBRY = this.getPreferenceBoolean("proxyLBRY", false);
if (this.selectedLanguage != "en") {

View file

@ -55,7 +55,7 @@ export default {
},
preferredVideoCodecs: _this => {
var preferredVideoCodecs = [];
const enabledCodecs = _this.getPreferenceString("enabledCodecs", "av1,vp9,avc").split(",");
const enabledCodecs = _this.getPreferenceString("enabledCodecs", "vp9,avc").split(",");
if (
_this.$refs.videoEl.canPlayType('video/mp4; codecs="av01.0.08M.08"') !== "" &&