Respecting local burn-in subtitle setting when checking for PGS support.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user