void-packages/srcpkgs/minitube/patches/mpv-0.35.patch

15 lines
871 B
Diff
Raw Normal View History

2022-11-12 23:04:14 +01:00
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},