avcodec/mediacodecdec: propagate SAR to h/w frames
authorAman Gupta <aman@tmm1.net>
Mon, 19 Mar 2018 23:29:45 +0000 (16:29 -0700)
committerAman Gupta <aman@tmm1.net>
Tue, 20 Mar 2018 22:52:23 +0000 (15:52 -0700)
commit2ddc6b439226a7dffb740d6e50bdd835a27d10ea
treed34278b7ef833feb08b35f3e2816f3e69fb2b663
parent9e67447a4ffacf28af8bace33faf3ea432ddc43e
avcodec/mediacodecdec: propagate SAR to h/w frames

Allows consumers who are converting hardware buffers
to OpenGL textures to render the frames at the intended
display resolution.

Signed-off-by: Aman Gupta <aman@tmm1.net>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/mediacodecdec_common.c
libavcodec/mediacodecdec_common.h