minitube: rebuild for mpv-0.35.0

This commit is contained in:
Andrew Benson 2022-11-12 16:04:14 -06:00 committed by Đoàn Trần Công Danh
parent 107ea8ad0a
commit 7a9a9db6c5
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,14 @@
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},

View File

@ -1,7 +1,7 @@
# Template file for 'minitube'
pkgname=minitube
version=3.9.3
revision=1
revision=2
build_style=qmake
hostmakedepends="qt5-tools qt5-host-tools qt5-qmake git"
makedepends="qt5-devel phonon-qt5-devel qt5-script-devel qt5-declarative-devel