mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-23 03:33:18 +01:00
Hide text on video player if "mpv handles preview text" is un-checked - thx Jimmy :)
This commit is contained in:
parent
f3322acd5e
commit
51ca343ea6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user