https://github.com/mpv-player/mpv/commit/632059816adde518c67f6606e3cfdef5bec18b52
Index: minitube-3.9.3/lib/media/src/mpv/mpvwidget.cpp
===================================================================
--- minitube-3.9.3.orig/lib/media/src/mpv/mpvwidget.cpp
+++ minitube-3.9.3/lib/media/src/mpv/mpvwidget.cpp
@@ -30,7 +30,7 @@ void MpvWidget::initializeGL() {
     qDebug() << "initializeGL" << nativeParent;
     if (nativeParent == nullptr) qFatal("No native parent");
 
-    mpv_opengl_init_params gl_init_params{get_proc_address, this, nullptr};
+    mpv_opengl_init_params gl_init_params{get_proc_address, this};
     mpv_render_param params[]{{MPV_RENDER_PARAM_API_TYPE, (void *)MPV_RENDER_API_TYPE_OPENGL},
                               {MPV_RENDER_PARAM_OPENGL_INIT_PARAMS, &gl_init_params},
                               {MPV_RENDER_PARAM_INVALID, nullptr},
