mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
Rearrange visual quality & resolution options
This commit is contained in:
parent
74237dbd24
commit
ab91323abd
@ -44,11 +44,11 @@ function getSupportedCodecProfiles() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasHighCodec) {
|
if (hasLowCodec) {
|
||||||
if (!hasLowCodec && !hasNormalCodec) {
|
if (!hasNormalCodec && !hasHighCodec) {
|
||||||
options.default = `${t('visual-quality-high')} (${t('default')})`;
|
options.default = `${t('visual-quality-low')} (${t('default')})`;
|
||||||
} else {
|
} else {
|
||||||
options.high = t('visual-quality-high');
|
options.low = t('visual-quality-low');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -60,11 +60,11 @@ function getSupportedCodecProfiles() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasLowCodec) {
|
if (hasHighCodec) {
|
||||||
if (!hasNormalCodec && !hasHighCodec) {
|
if (!hasLowCodec && !hasNormalCodec) {
|
||||||
options.default = `${t('visual-quality-low')} (${t('default')})`;
|
options.default = `${t('visual-quality-high')} (${t('default')})`;
|
||||||
} else {
|
} else {
|
||||||
options.low = t('visual-quality-low');
|
options.high = t('visual-quality-high');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -140,8 +140,8 @@ export class GlobalSettingsStorage extends BaseSettingsStorage {
|
|||||||
default: 'auto',
|
default: 'auto',
|
||||||
options: {
|
options: {
|
||||||
auto: t('default'),
|
auto: t('default'),
|
||||||
'1080p': '1080p',
|
|
||||||
'720p': '720p',
|
'720p': '720p',
|
||||||
|
'1080p': '1080p',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
[PrefKey.STREAM_CODEC_PROFILE]: {
|
[PrefKey.STREAM_CODEC_PROFILE]: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user