vout: opengl: set the view frustum in function of the window size for 360 video

Multimedia / VLC - Adrien Maglo [videolan.org] - 25 November 2016 03:36 UTC

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.

2f4ae29 vout: opengl: set the view frustum in function of the window size for 360 video
modules/video_output/opengl.c | 52 +++++++++++++++++++++++++++++++----------
modules/video_output/opengl.h | 3 +++
2 files changed, 43 insertions(+), 12 deletions(-)

Upstream: git.videolan.org


  • Share