Skip to content

MediaPlayer: fix setScale() when using hw direct-rendering

mediaPlayer.setScale() was only working when using the OpenGL vout.

Go through the VideoHelper to change the video layout according to the scale when using MediaCodec direct rendering.

Merge request reports

Loading