[vlc-devel] [PATCH] qt: Use native events to notify of a video widget resize

Rémi Denis-Courmont remi at remlab.net
Tue May 2 18:38:39 CEST 2017

Le perjantaina 28. huhtikuuta 2017, 15.09.49 EEST Hugo Beauzée-Luyssen a 
écrit :
> This method can't be used for Wayland as Qt won't invoke
> QWidget::nativeEvent when Wayland is used.
> Fix #18211

On Wayland, the size of the (sub)window is determined by the size of the 
attached surface. There are no confirmations of size change from the display 

Currently, it fails unless the aspect and zoom rates exactly match the window 
size. The OpenGL video output should draw a surface at the correct size, 
rendering black bars and/or cropping the video texture as needed, but (AFAIK) 
it does not.

That is not, at least not at this point, an issue with the Qt GUI.


More information about the vlc-devel mailing list