[vlc-devel] Bugfix: glViewport() must be called before vout_display_opengl_Display

Rémi Denis-Courmont remi at remlab.net
Sat Jan 17 07:18:15 CET 2015


Le 2015-01-17 07:48, Jean-Baptiste Kempf a écrit :
>> From 5a5ba09ee59b9916e2ccb9f772eca63c88973387 Mon Sep 17 00:00:00 
>> 2001
>> From: Adam Leggett <adamvleggett at gmail.com>
>> Date: Thu, 11 Dec 2014 15:56:01 -0500
>> Subject: [PATCH 6/7] Bugfix: glViewport() must be called before
>>  vout_display_opengl_Display
>
> This looks OK, but WHY?

I have not tested but I believe this patch breaks A/R, crop and zoom.

> Bugfix is not an acceptable explanation

A call to glViewport() is indeed missing in Open(). The patch makes the 
problem worse rather than better in my opinion though.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list