Skip to content

android: egl: Fix incorrect offset setting for non-RGB buffers

Function lock_ycbcr() sets memory addresses for Y, Cb, Cr planes.
E.g. [Y: 0xff2e558bc000, Cb: 0xff2e559d5400, Cr:0xff2e5599d000]

Offsets should be calculated instead of using these addresses.

Fixes youtube playback when non-RGB format is used.

Merge request reports

Loading