diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-09 02:15:01 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-05-19 11:39:45 +0200 |
commit | eee88ba0dc67b5beaa31199d5bf1e7fc324e0652 (patch) | |
tree | 5fcf38676fcc1da5b201560f51fc183ec9fcb406 /libavutil/timestamp.h | |
parent | 41fc62f2e87c8427bdb87b6d90da0935e67e7576 (diff) | |
download | ffmpeg-eee88ba0dc67b5beaa31199d5bf1e7fc324e0652.tar.gz |
avcodec/decode: Set KEY flag+pict_type generically for intra-only codecs
This commit is the analog of 3f11eac75741888c7b2b6f93c458766f2613bab5
for decoding: It sets the AV_FRAME_FLAG_KEY and (for video decoders)
also pict_type to AV_PICTURE_TYPE_I. It furthermore stops setting
audio frames as always being key frames -- it is wrong for e.g.
TrueHD/MLP. The latter also affects TAK and DFPWM.
The change already improves output for several decoders where
it has been forgotten to set e.g. pict_type like speedhq, wnv1
or tiff. The latter is the reason for the change to the exif-image-tiff
FATE test reference file.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/timestamp.h')
0 files changed, 0 insertions, 0 deletions