MPlayer2 Patches To Support Wayland
MPlayer2, the fork of MPlayer, now has patches to support this video player while running on Wayland.
Alexander Preisinger presented the set of patches to Wayland and MPlayer2 patches that allow for the open-source video player to work over Wayland via EGL, with input and output working correctly but the only reported shortcoming right now is no window decoration support. The patches can be found here.
For those curious about the extent of the changes needed for a multi-media program to support Wayland, there's 700+ lines of new code for initializing Wayland and keyboard/pointer input, about 200 lines of code to support Wayland EGL with the OpenGL video output, and then just a couple dozen lines of code for the build support with adding an --enable-wayland switch to the build scripts.
Intel's been working on VA-API video playback for Wayland, but these MPlayer changes are unrelated to that initiative.
Alexander Preisinger presented the set of patches to Wayland and MPlayer2 patches that allow for the open-source video player to work over Wayland via EGL, with input and output working correctly but the only reported shortcoming right now is no window decoration support. The patches can be found here.
For those curious about the extent of the changes needed for a multi-media program to support Wayland, there's 700+ lines of new code for initializing Wayland and keyboard/pointer input, about 200 lines of code to support Wayland EGL with the OpenGL video output, and then just a couple dozen lines of code for the build support with adding an --enable-wayland switch to the build scripts.
Intel's been working on VA-API video playback for Wayland, but these MPlayer changes are unrelated to that initiative.
2 Comments