[FFmpeg-devel] [PATCH 1/3] avcodec/decode: set best_effort_timestamp on output frames for all decoders

Anton Khirnov anton at khirnov.net
Sun Dec 13 11:38:06 EET 2020


Quoting James Almer (2020-12-13 04:15:22)
> Fixes a decoding regression introduced by e9a2a87773, and as a side effect also
> fixes bogus values set to certain audio frames that had some samples discarded,
> where the offsets added to pts, pkt_dts and pkt_duration were not reflected in
> best_effort_timestamp.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  libavcodec/decode.c                | 11 ++++-------
>  tests/ref/fate/exif-image-embedded |  4 ++--
>  tests/ref/fate/gaplessinfo-itunes1 |  2 +-
>  tests/ref/fate/gaplessinfo-itunes2 |  2 +-
>  4 files changed, 8 insertions(+), 11 deletions(-)

Looks good, thanks for fixing this.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list