diff options
author | Haihao Xiang <haihao.xiang@intel.com> | 2022-09-28 09:39:32 +0800 |
---|---|---|
committer | Haihao Xiang <haihao.xiang@intel.com> | 2022-10-07 10:56:41 +0800 |
commit | fce8b908511e57d9c77434280398296ad539f8b2 (patch) | |
tree | 80d761b846cf14d18a1997dd79bdf4fa6bb3487c /libavcodec/wmv2.h | |
parent | aaf4109a5f36f4a481c6d278fda6f180d31c5802 (diff) | |
download | ffmpeg-fce8b908511e57d9c77434280398296ad539f8b2.tar.gz |
lavc/cbs_av1: restore CodedBitstreamAV1Context when AVERROR(ENOSPC)
The current pbc might be small for an obu frame, so a new pbc is
required then parse this obu frame again. Because
CodedBitstreamAV1Context has already been updated for this obu frame, we
need to restore CodedBitstreamAV1Context, otherwise
CodedBitstreamAV1Context doesn't match this obu frame when parsing obu
frame again, e.g. CodedBitstreamAV1Context.order_hint.
$ ffmpeg -i input.ivf -c:v copy -f null -
[...]
[av1_frame_merge @ 0x558bc3d6f880] ref_order_hint[i] does not match
inferred value: 20, but should be 22.
[av1_frame_merge @ 0x558bc3d6f880] Failed to write unit 1 (type 6).
[av1_frame_merge @ 0x558bc3d6f880] Failed to write packet.
[obu @ 0x558bc3d6e040] av1_frame_merge filter failed to send output
packet
Reviewed-by: James Almer <jamrial@gmail.com>
Reviewed-by: Wenbin Chen <wenbin.chen@intel.com>
Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
Diffstat (limited to 'libavcodec/wmv2.h')
0 files changed, 0 insertions, 0 deletions