Try to fix minor point sync issue - thx Maknol :)

This commit is contained in:
Nikolaj Olsson 2024-03-17 13:31:57 +01:00
parent 11c5934e11
commit 33f04ce5a6

View File

@ -166,8 +166,6 @@ namespace Nikse.SubtitleEdit.Forms
private void VideoStartLoaded(object sender, EventArgs e)
{
timer1.Start();
videoPlayerContainer1.Pause();
if (_guess.TotalMilliseconds > 0 && _guess.TotalMilliseconds / TimeCode.BaseUnit < videoPlayerContainer1.VideoPlayer.Duration)
@ -184,6 +182,8 @@ namespace Nikse.SubtitleEdit.Forms
{
libMpv.AudioTrackNumber = _audioTrackNumber;
}
TaskDelayHelper.RunDelayed(TimeSpan.FromMilliseconds(100), () => timer1.Start());
}
private void timer1_Tick(object sender, EventArgs e)