Skip to content
Snippets Groups Projects
Commit aad79e43 authored by Aman Gupta's avatar Aman Gupta Committed by Matthieu Bouron
Browse files

lavc/mediacodec: rescale pts before decoding for both hw and sw buffers


Replicates the logic used in the wrap_hw_buffer path to wrap_sw_buffer
as well.

Fixes decoding issues observed on AMLogic devices with
OMX.amlogic.mpeg2.decoder.awesome, where the decoder would spit out a
constant stream of "mPtsRecoveryCount" errors and decoded frames were
returned in the incorrect order.

Signed-off-by: default avatarMatthieu Bouron <matthieu.bouron@gmail.com>
parent 6d4a686d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment