mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 19:22:53 +01:00
Fix for font size bug mentioned in #8210 - thx amir3dsmax :)
This commit is contained in:
parent
f9700dea68
commit
56c14d4b17
@ -28,7 +28,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
private long _startTicks;
|
private long _startTicks;
|
||||||
private long _totalFrames;
|
private long _totalFrames;
|
||||||
private StringBuilder _log;
|
private StringBuilder _log;
|
||||||
private readonly bool _isAssa;
|
private bool _isAssa;
|
||||||
private FfmpegMediaInfo _mediaInfo;
|
private FfmpegMediaInfo _mediaInfo;
|
||||||
private bool _promptFFmpegParameters;
|
private bool _promptFFmpegParameters;
|
||||||
private readonly bool _mpvOn;
|
private readonly bool _mpvOn;
|
||||||
@ -472,6 +472,8 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
if (!string.IsNullOrEmpty(videoAndSub.SubtitleFileName) & File.Exists(videoAndSub.SubtitleFileName))
|
if (!string.IsNullOrEmpty(videoAndSub.SubtitleFileName) & File.Exists(videoAndSub.SubtitleFileName))
|
||||||
{
|
{
|
||||||
subtitle = Subtitle.Parse(videoAndSub.SubtitleFileName);
|
subtitle = Subtitle.Parse(videoAndSub.SubtitleFileName);
|
||||||
|
_isAssa = videoAndSub.SubtitleFileName.EndsWith(".ass", StringComparison.OrdinalIgnoreCase) ||
|
||||||
|
videoAndSub.SubtitleFileName.EndsWith(".assa", StringComparison.OrdinalIgnoreCase);
|
||||||
}
|
}
|
||||||
|
|
||||||
var path = Path.GetDirectoryName(videoAndSub.VideoFileName);
|
var path = Path.GetDirectoryName(videoAndSub.VideoFileName);
|
||||||
|
Loading…
Reference in New Issue
Block a user