mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 15:02:35 +01:00
Add "pause" cmd after load video for MPC - thx mike :)
This commit is contained in:
parent
9f0dcf3b68
commit
082fc4cb8a
@ -126,7 +126,7 @@ namespace Nikse.SubtitleEdit.Logic.VideoPlayers.MpcHC
|
||||
};
|
||||
_process = Process.Start(_startInfo);
|
||||
_process?.WaitForInputIdle();
|
||||
|
||||
|
||||
_positionTimer = new Timer { Interval = 100 };
|
||||
_positionTimer.Tick += PositionTimerTick;
|
||||
}
|
||||
@ -134,6 +134,7 @@ namespace Nikse.SubtitleEdit.Logic.VideoPlayers.MpcHC
|
||||
private void PositionTimerTick(object sender, EventArgs e)
|
||||
{
|
||||
SendMpcMessage(MpcHcCommand.GetCurrentPosition);
|
||||
Pause();
|
||||
}
|
||||
|
||||
private void OnCopyData(object sender, EventArgs e)
|
||||
|
Loading…
Reference in New Issue
Block a user