mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 03:33:18 +01:00
Don't show progress for imported plain text
This commit is contained in:
parent
fcc81913fc
commit
f5a22a469c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user