mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 14:32:35 +01:00
parent
a1c0dd3857
commit
ee8e9ebde4
@ -1749,7 +1749,14 @@ namespace Nikse.SubtitleEdit.Logic.CommandLineConvert
|
||||
using (var binarySubtitleFile = new FileStream(outputFileName, FileMode.Create))
|
||||
{
|
||||
var isImageBased = IsImageBased(format);
|
||||
BdSupSaver.SaveBdSup(fileName, sub, binaryParagraphs.Cast<IBinaryParagraph>().ToList(), form, width, height, isImageBased, binarySubtitleFile, format, cancellationToken);
|
||||
|
||||
List<IBinaryParagraph> bin = null;
|
||||
if (bin != null)
|
||||
{
|
||||
bin = binaryParagraphs.Cast<IBinaryParagraph>().ToList();
|
||||
}
|
||||
|
||||
BdSupSaver.SaveBdSup(fileName, sub, bin, form, width, height, isImageBased, binarySubtitleFile, format, cancellationToken);
|
||||
}
|
||||
|
||||
if (cancellationToken.IsCancellationRequested)
|
||||
|
Loading…
Reference in New Issue
Block a user