mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-10 10:18:23 +00:00
Disable AV1 by default.
This commit is contained in:
parent
0349318f67
commit
0843f9c332
@ -270,7 +270,7 @@ export default {
|
|||||||
{ code: "zh_Hant", name: "繁體中文" },
|
{ code: "zh_Hant", name: "繁體中文" },
|
||||||
{ code: "zh_Hans", name: "简体中文" },
|
{ code: "zh_Hans", name: "简体中文" },
|
||||||
],
|
],
|
||||||
enabledCodecs: ["av1", "vp9", "avc"],
|
enabledCodecs: ["vp9", "avc"],
|
||||||
disableLBRY: false,
|
disableLBRY: false,
|
||||||
proxyLBRY: false,
|
proxyLBRY: false,
|
||||||
};
|
};
|
||||||
@ -356,7 +356,7 @@ export default {
|
|||||||
this.minimizeDescription = this.getPreferenceBoolean("minimizeDescription", false);
|
this.minimizeDescription = this.getPreferenceBoolean("minimizeDescription", false);
|
||||||
this.watchHistory = this.getPreferenceBoolean("watchHistory", false);
|
this.watchHistory = this.getPreferenceBoolean("watchHistory", false);
|
||||||
this.selectedLanguage = this.getPreferenceString("hl", this.defaultLangage);
|
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.disableLBRY = this.getPreferenceBoolean("disableLBRY", false);
|
||||||
this.proxyLBRY = this.getPreferenceBoolean("proxyLBRY", false);
|
this.proxyLBRY = this.getPreferenceBoolean("proxyLBRY", false);
|
||||||
if (this.selectedLanguage != "en") {
|
if (this.selectedLanguage != "en") {
|
||||||
|
@ -55,7 +55,7 @@ export default {
|
|||||||
},
|
},
|
||||||
preferredVideoCodecs: _this => {
|
preferredVideoCodecs: _this => {
|
||||||
var preferredVideoCodecs = [];
|
var preferredVideoCodecs = [];
|
||||||
const enabledCodecs = _this.getPreferenceString("enabledCodecs", "av1,vp9,avc").split(",");
|
const enabledCodecs = _this.getPreferenceString("enabledCodecs", "vp9,avc").split(",");
|
||||||
|
|
||||||
if (
|
if (
|
||||||
_this.$refs.videoEl.canPlayType('video/mp4; codecs="av01.0.08M.08"') !== "" &&
|
_this.$refs.videoEl.canPlayType('video/mp4; codecs="av01.0.08M.08"') !== "" &&
|
||||||
|
Loading…
Reference in New Issue
Block a user