GPUVideo-android icon indicating copy to clipboard operation
GPUVideo-android copied to clipboard

fix preview redimension for some devices

Open buntupana opened this issue 3 years ago • 0 comments

In Emulator and Samsung Galaxy S6 (SM-G920F) at least when a video start recording the preview will be as big as the result video resolution was set.

Adding the function GLES20.glViewport at GlFrameBufferObjectRenderer in the funtion onDrawFrame fix the problem.

Closes #100 , closes #64

buntupana avatar Sep 24 '22 15:09 buntupana