1
0
Fork 0
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:
David Schulte 2024-06-11 20:41:13 +02:00
parent febc67f04d
commit a6732739c5

View file

@ -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'