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
+2 -1
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({
Format: 'pgssub',
Method: 'External'