using libmpv on wayland from Qt application may lead to a SIGSEV, because the global instance is null but not tested. Import a patch from upstream, this fixes running jellyfinmediaplay on wayland