Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2022-02-03 23:29:06 +0300
committerJames Almer <jamrial@gmail.com>2022-02-04 01:37:56 +0300
commitf9844476372719fd1acc2a6dec51ca65fa74bbcf (patch)
treec507bfd5f66dd77049dde404ef961e938c4c9d17 /src/internal.h
parent0dc1d3539ceae7d5c2efc3163f7a14b83eea26fc (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.h2
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;