lavc/mediacodecdec: switch to new decoding API
authorAman Gupta <aman@tmm1.net>
Fri, 29 Dec 2017 01:33:14 +0000 (17:33 -0800)
committerMatthieu Bouron <matthieu.bouron@gmail.com>
Sat, 6 Jan 2018 21:12:31 +0000 (22:12 +0100)
commit9d9835017f67db7e37b6b5a42a247e17b05bf8fc
treed461a364bde88596d6c33eb4817eb9693b8e8e90
parent8bbd8c8d52dbcb15773717d3512f8fb68e860bf2
lavc/mediacodecdec: switch to new decoding API

Using the new API gives the decoder the ability to produce
N frames per input packet. This is particularly useful with
mpeg2 decoders on some android devices, which automatically
deinterlace video and produce one frame per field.

Signed-off-by: Aman Gupta <aman@tmm1.net>
Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
libavcodec/mediacodecdec.c