diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index 505f8276ac..e85642faea 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -1442,7 +1442,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'