Open danilw opened 2 years ago
Bug - in Wayland playing video always in second window in Baka-MPlayer. mpv-examples/libmpv/qt/ also have this bug.
Fix - file src/mpvhandler.cpp add to line 31:
src/mpvhandler.cpp
mpv_set_option_string(mpv, "gpu-context", "x11egl"); // xWayland Sway fix
(x11egl or x11, because mpv use it) it seems for now, tested Apr 2023, it work only with x11egl
x11egl
x11
Other way to fix, more code to change - look on mpv-examples/libmpv/qt_opengl/ copy this method of overlay integration.
Something changed in Wayland and it seems MPV window integration to Baka-MPlayer works only when gpu-context is x11egl.
Bug - in Wayland playing video always in second window in Baka-MPlayer. mpv-examples/libmpv/qt/ also have this bug.
Fix - file
src/mpvhandler.cpp
add to line 31:(
x11egl
orx11
, because mpv use it) it seems for now, tested Apr 2023, it work only with x11eglOther way to fix, more code to change - look on mpv-examples/libmpv/qt_opengl/ copy this method of overlay integration.