Don't show progress for imported plain text

This commit is contained in:
OmrSi 2020-09-24 20:43:49 +03:00
parent fcc81913fc
commit f5a22a469c

View File

@ -24639,7 +24639,7 @@ namespace Nikse.SubtitleEdit.Forms
else if (_subtitle.Paragraphs.Count > 0 && !string.IsNullOrWhiteSpace(_videoFileName) && mediaPlayer != null && mediaPlayer.VideoPlayer != null && mediaPlayer.VideoPlayer.Duration > 0)
{
var last = _subtitle.Paragraphs.LastOrDefault();
if (last != null)
if (last != null && !last.StartTime.IsMaxTime)
{
var subtitleEndSeconds = last.EndTime.TotalSeconds;
var videoEndSeconds = mediaPlayer.VideoPlayer.Duration;