Skip to content

Wayland mpv overlay in second window bug #313

@danilw

Description

@danilw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions