diff options
author | Aman Gupta <aman@tmm1.net> | 2018-04-26 11:51:15 -0700 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2018-05-18 19:16:34 -0700 |
commit | bb6a34f237ecfb78d04d7f5b6d6fb21f69778a59 (patch) | |
tree | fdbebf360d90e4542b45bb679a1564dd1b4ed52c /libavcodec/jni.c | |
parent | db5631e4087f8034c47257542fb813c9417dcf23 (diff) | |
download | ffmpeg-bb6a34f237ecfb78d04d7f5b6d6fb21f69778a59.tar.gz |
avcodec/mediacodecdec: add workaround for buggy amlogic mpeg2 decoder
I tested the previous mediacodec changes on seven different Android
TV devices, with both mpeg2 and h264 content. All except one worked
as expected. The exception was the MiBox3 running Android 6.0.1,
where playback would freeze on a frame every few seconds. I tested
two other AMLogic devices with newer Android versions that did not
show the same problem. H264 decoding on the MiBox3 was also not affected,
so this workaround applies only to OMX.amlogic.mpeg2.decoder.awesome
on Android API22.
There is a rumor that Xiaomi is planning to release Android Oreo for
the MiBox3, so I will revisit in a few months to confirm whether this
is specific to os/driver version or the chipset used in that device.
Signed-off-by: Aman Gupta <aman@tmm1.net>
Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
(cherry picked from commit 9b563f6584b5ba2292975f0917268ac7b37497eb)
Diffstat (limited to 'libavcodec/jni.c')
0 files changed, 0 insertions, 0 deletions