Skip to content

Commit

Permalink
Respecting local burn-in subtitle setting when checking for PGS support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcus92 committed Jun 13, 2024
1 parent 47daa56 commit b01e03c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/browserDeviceProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,8 @@ export default function (options) {
});
}

if (supportsCanvas2D()) {
if (supportsCanvas2D() && options.enablePgsRender !== false && !options.isRetry
&& subtitleBurninSetting !== 'allcomplexformats' && subtitleBurninSetting !== 'onlyimageformats') {
profile.SubtitleProfiles.push({
Format: 'pgssub',
Method: 'External'
Expand Down

0 comments on commit b01e03c

Please sign in to comment.