mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Respecting local burn-in subtitle setting when checking for PGS support.
This commit is contained in:
parent
febc67f04d
commit
a6732739c5
1 changed files with 2 additions and 1 deletions
|
@ -1442,7 +1442,8 @@ export default function (options) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (supportsCanvas2D()) {
|
if (supportsCanvas2D() && options.enablePgsRender !== false && !options.isRetry
|
||||||
|
&& subtitleBurninSetting !== 'allcomplexformats' && subtitleBurninSetting !== 'onlyimageformats') {
|
||||||
profile.SubtitleProfiles.push({
|
profile.SubtitleProfiles.push({
|
||||||
Format: 'pgssub',
|
Format: 'pgssub',
|
||||||
Method: 'External'
|
Method: 'External'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue