From 3693b16fe5a0bf7b7426d6d31f14a492573ca788 Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Thu, 9 Sep 2021 16:30:25 +0200
Subject: [PATCH] MPV: Don't load the video by default, force the user to click
 on the button to avoid some strange race conditions

---
 src/UI/DocumentViews/MpvContainer.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/UI/DocumentViews/MpvContainer.cc b/src/UI/DocumentViews/MpvContainer.cc
index 7c552c7a..fb094d4e 100644
--- a/src/UI/DocumentViews/MpvContainer.cc
+++ b/src/UI/DocumentViews/MpvContainer.cc
@@ -20,7 +20,7 @@ MpvContainer::MpvContainer(QWidget *parent)
     setAttribute(Qt::WA_DontCreateNativeAncestors);
     setAttribute(Qt::WA_NativeWindow);
 
-    initializeMpv();
+    logWarning() << "Don't init MPV by default, you should use the reload button!";
 }
 
 void
-- 
GitLab