Make sub preview work with mpv with audio files - thx Rabia :)

This commit is contained in:
niksedk 2021-06-24 03:21:19 +02:00
parent d31bced90a
commit 8c52087fa6

View File

@ -374,7 +374,7 @@ namespace Nikse.SubtitleEdit.Controls
{
var mpv = VideoPlayer as LibMpvDynamic;
LastParagraph = p;
if (mpv != null && Configuration.Settings.General.MpvHandlesPreviewText)
if (mpv != null && Configuration.Settings.General.MpvHandlesPreviewText && VideoHeight > 0 && VideoWidth > 0)
{
if (_subtitlesHeight > 0)
{