mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Disable AV1 by default.
This commit is contained in:
parent
0349318f67
commit
0843f9c332
2 changed files with 3 additions and 3 deletions
|
@ -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") {
|
||||
|
|
|
@ -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"') !== "" &&
|
||||
|
|
Loading…
Reference in a new issue