[FFmpeg-devel] [PATCH 1/3] avcodec/decode: set best_effort_timestamp on output frames for all decoders
James Almer
jamrial at gmail.com
Sun Dec 13 17:18:39 EET 2020
On 12/13/2020 6:38 AM, Anton Khirnov wrote:
> 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.
Applied.
More information about the ffmpeg-devel
mailing list