diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2022-02-03 23:29:06 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-02-04 01:37:56 +0300 |
commit | f9844476372719fd1acc2a6dec51ca65fa74bbcf (patch) | |
tree | c507bfd5f66dd77049dde404ef961e938c4c9d17 /src/internal.h | |
parent | 0dc1d3539ceae7d5c2efc3163f7a14b83eea26fc (diff) |
Output only latest spatial layer if --alllayers 0
Right now, --alllayers 0 will only output operating points that exactly
match the largest one in the sequence header. However, in certain cases,
the largest one might not be available, and a smaller one should be
returned to the user instead.
This matches update_frame_buffers() in aomdec to output only the latest
frame if --alllayers 0 is specified.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'src/internal.h')
-rw-r--r-- | src/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal.h b/src/internal.h index 57e28a2..8edb80f 100644 --- a/src/internal.h +++ b/src/internal.h @@ -102,7 +102,7 @@ struct Dav1dContext { // decoded output picture queue Dav1dData in; - Dav1dThreadPicture out; + Dav1dThreadPicture out, cache; // dummy is a pointer to prevent compiler errors about atomic_load() // not taking const arguments atomic_int flush_mem, *flush; |