diff options
author | James Almer <jamrial@gmail.com> | 2019-11-17 21:08:56 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-01-06 11:56:04 -0300 |
commit | 1ad341851968bd41980531e4c00fb9592399cfcd (patch) | |
tree | e63d743a538057844f8e175812e389039a18604a /libavformat/pva.c | |
parent | 8ad03481f3c7b7108548a9f568cae21e9fd1bddf (diff) | |
download | ffmpeg-1ad341851968bd41980531e4c00fb9592399cfcd.tar.gz |
avcodec/cbs_av1: keep separate reference frame state for reading and writing
In scearios where a Temporal Unit is written right after reading it using the same
CBS context (av1_metadata, av1_frame_merge, etc), the reference frame state used
by the writer must not be the state that's the result of the reader having already
parsed the current frame in question.
This fixes writing Switch frames, and frames using short ref signaling.
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 4e2bef6a82b356772a5919c51c9be1530268bd79)
Diffstat (limited to 'libavformat/pva.c')
0 files changed, 0 insertions, 0 deletions