GPUVideo-android
                                
                                
                                
                                    GPUVideo-android copied to clipboard
                            
                            
                            
                        Video Rotation only rotate resolution spec, not content
Hi, I'm currently trying to rotate GPUPlayerView using gpuPlayer.rotation = gpuPlayer.rotation - 90f
The view is rotated correctly, but the video content being played is not rotated correctly instead stretch based on new rotated resolution. How can I correctly rotate the content?
BEFORE

AFTER

Some have suggested using app:surface_type="texture_view" for rotating exoplayer, but not sure how to do this with GpuPlayerView
Thanks!