From 33f04ce5a6d621600703bea50f08e7c98e073dec Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Sun, 17 Mar 2024 13:31:57 +0100 Subject: [PATCH] Try to fix minor point sync issue - thx Maknol :) --- src/ui/Forms/SetSyncPoint.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/Forms/SetSyncPoint.cs b/src/ui/Forms/SetSyncPoint.cs index 750c0f21d..fde5e61f8 100644 --- a/src/ui/Forms/SetSyncPoint.cs +++ b/src/ui/Forms/SetSyncPoint.cs @@ -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)