mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 06:52:35 +01:00
Minor fixes
This commit is contained in:
parent
a0ce39d113
commit
c790596086
@ -4059,12 +4059,9 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
_timerAutoSave.Stop();
|
||||
|
||||
CheckAndGetNewlyDownloadedMpvDlls();
|
||||
mediaPlayer.VideoPlayerContainerResize(null, null);
|
||||
|
||||
if (!string.IsNullOrEmpty(_videoFileName) &&
|
||||
(oldVideoPlayer != Configuration.Settings.General.VideoPlayer && mediaPlayer.VideoPlayer != null) ||
|
||||
(oldMpvVideoOutput != Configuration.Settings.General.MpvVideoOutput && Configuration.Settings.General.VideoPlayer.Equals("MPV", StringComparison.OrdinalIgnoreCase))
|
||||
)
|
||||
if (!string.IsNullOrEmpty(_videoFileName) && oldVideoPlayer != Configuration.Settings.General.VideoPlayer && mediaPlayer.VideoPlayer != null ||
|
||||
(oldMpvVideoOutput != Configuration.Settings.General.MpvVideoOutput && Configuration.Settings.General.VideoPlayer.Equals("MPV", StringComparison.OrdinalIgnoreCase)))
|
||||
{
|
||||
string vfn = _videoFileName;
|
||||
CloseVideoToolStripMenuItemClick(null, null);
|
||||
@ -4094,7 +4091,9 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
|
||||
SubtitleListview1.SyntaxColorAllLines(_subtitle);
|
||||
mediaPlayer.LastParagraph = null;
|
||||
Application.DoEvents();
|
||||
UiUtil.ShowSubtitle(_subtitle, mediaPlayer);
|
||||
mediaPlayer.VideoPlayerContainerResize(null, null);
|
||||
}
|
||||
|
||||
private void CheckAndGetNewlyDownloadedMpvDlls()
|
||||
|
@ -7758,7 +7758,6 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
|
||||
sb.AppendLine("<!DOCTYPE html>");
|
||||
sb.AppendLine("<html>");
|
||||
sb.AppendLine("<head>");
|
||||
sb.AppendLine("<title>Subtitle images</title></head>");
|
||||
sb.AppendLine(" <meta charset=\"UTF - 8\" />");
|
||||
sb.AppendLine(" <title>Subtitle images</title>");
|
||||
sb.AppendLine("</head>");
|
||||
|
Loading…
Reference in New Issue
Block a user