From 8c52087fa646ee82004af3c3361bb8ac3ec94dd3 Mon Sep 17 00:00:00 2001 From: niksedk Date: Thu, 24 Jun 2021 03:21:19 +0200 Subject: [PATCH] Make sub preview work with mpv with audio files - thx Rabia :) --- src/ui/Controls/VideoPlayerContainer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/Controls/VideoPlayerContainer.cs b/src/ui/Controls/VideoPlayerContainer.cs index 7956dd4da..cfd60bd5b 100644 --- a/src/ui/Controls/VideoPlayerContainer.cs +++ b/src/ui/Controls/VideoPlayerContainer.cs @@ -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) {