diff options
author | James Almer <jamrial@gmail.com> | 2020-12-12 21:37:53 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-12-13 12:14:57 -0300 |
commit | 4bff800dc9d238dee58049704768aa6c5c391ab2 (patch) | |
tree | 6dedecc004b063db6ef8a66d6eb033cc0984bef0 /tests/ref/fate/exif-image-embedded | |
parent | bf4b9e933fbd01591bb75e8adf54b8d6d19273f1 (diff) | |
download | ffmpeg-4bff800dc9d238dee58049704768aa6c5c391ab2.tar.gz |
avcodec/decode: set best_effort_timestamp on output frames for all decoders
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@gmail.com>
Diffstat (limited to 'tests/ref/fate/exif-image-embedded')
-rw-r--r-- | tests/ref/fate/exif-image-embedded | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/fate/exif-image-embedded b/tests/ref/fate/exif-image-embedded index 392c145efb..d9239b3c83 100644 --- a/tests/ref/fate/exif-image-embedded +++ b/tests/ref/fate/exif-image-embedded @@ -44,8 +44,8 @@ pkt_pts=353600 pkt_pts_time=0.025057 pkt_dts=353600 pkt_dts_time=0.025057 -best_effort_timestamp=0 -best_effort_timestamp_time=0.000000 +best_effort_timestamp=353600 +best_effort_timestamp_time=0.025057 pkt_duration=15040 pkt_duration_time=0.001066 pkt_pos=16292 |