Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland mpv overlay in second window bug #313

Open
danilw opened this issue Oct 15, 2021 · 1 comment · May be fixed by #331
Open

Wayland mpv overlay in second window bug #313

danilw opened this issue Oct 15, 2021 · 1 comment · May be fixed by #331

Comments

@danilw
Copy link

danilw commented Oct 15, 2021

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:

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

Other way to fix, more code to change - look on mpv-examples/libmpv/qt_opengl/ copy this method of overlay integration.

@u8sand u8sand linked a pull request Jan 29, 2023 that will close this issue
13 tasks
@danilw
Copy link
Author

danilw commented Apr 3, 2023

Something changed in Wayland and it seems MPV window integration to Baka-MPlayer works only when gpu-context is x11egl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant