Hide text on video player if "mpv handles preview text" is un-checked - thx Jimmy :)

This commit is contained in:
Nikolaj Olsson 2019-03-08 21:10:04 +01:00
parent f3322acd5e
commit 51ca343ea6

View File

@ -17487,6 +17487,11 @@ namespace Nikse.SubtitleEdit.Forms
break;
}
}
if (mediaPlayer.VideoPlayer is LibMpvDynamic && !Configuration.Settings.General.MpvHandlesPreviewText)
{
(mediaPlayer.VideoPlayer as LibMpvDynamic)?.RemoveSubtitle();
}
}
private void VideoEnded(object sender, EventArgs e)