[vlc-devel] patches to fix Wayland issues

Rémi Denis-Courmont remi at remlab.net
Fri May 25 15:19:44 CEST 2018


Le vendredi 25 mai 2018, 15:22:13 EEST erwan.tulou at gmail.com a écrit :
>     Please find attached two patches that solve key issues regarding
> display of any video on Wayland within the qt interface with the default
> Opengl vout.
> 
> - patch1:  vlc_gl_Resize() was fixed lately, but it is still misused in
> the gl vout display module. This one-line change makes it fully
> functional for qt (embedded video).

Yes.

Resizing is still subtly broken though. The window shakes and depending on 
driver gets corrupt, during resize. I guess that VLC acknowledges the resize 
too early.

Other than that, black borders are missing with the SHM output, but that does 
not affect EGL.

> - patch2: remove a highly dubious call within qt, that leads vlc to
> crash on Wayland (at least with Gnome Mutter)

No clue about that one.

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list