CainKernel / CainPlayer

A Simple Android MediaPlayer using FFmpeg, OpenSLES and OpenGLES base on ffplay
GNU General Public License v3.0
104 stars 26 forks source link

Videos are rotated #16

Closed findxain closed 5 years ago

findxain commented 5 years ago

videos which has metadata "rotate 90" are rotated how to solve this ?

CainKernel commented 5 years ago

it's a bug here. I'll fix this later. metadata "rotate 90" need to change texture coordinates according the rotation, and then exchange width with height in glviewpot, like this:

glviewport(0, 0, height, width).