Kickflip/kickflip-android-sdk — pull request #13 by uberspot (2014-06-06 22:25:58+00:00)
Title: add glViewPort updates

add glViewPort updates whenever the surface is changed and whenever sessionConfig is reloaded to eliminate wrong proportions on the final video if the session config resolution changes from a high one to a low one and vice versa. This is also described here https://developer.android.com/guide/topics/graphics/opengl.html
I think kickflip doesn't have a problem yet with this since resolutions aren't frequently changed between recording but if they were you would notice that without glViewPort opengl draws wrongly proportioned frames (based on the initial resolution loaded into each context and not based on the recently changed resolution [e.g. via a new session config] ).
This should be tested on your side as well.
:)