[vlc-devel] [PATCH 2/3] OpenGL: set the view frustum in function of the window size for 360 video

Rémi Denis-Courmont remi at remlab.net
Mon Nov 21 17:50:33 CET 2016

Le maanantaina 21. marraskuuta 2016, 16.47.59 EET Adrien Maglo a écrit :
> Previously, the frustum aspect ratio was set in function of the flat video
> resolution, which is not related at all to the view frustum shape.

If you want/need one of the aspect ratii, pass that aspect ratio, not the 
window size.

Window size is problematic if we add support for monitor PAR or OpenGL surface 

Rémi Denis-Courmont

More information about the vlc-devel mailing list