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:
authorJames Almer <jamrial@gmail.com>2018-09-30 15:38:15 +0300
committerJames Almer <jamrial@gmail.com>2018-09-30 16:19:20 +0300
commit331d88d3ae1263251e234bbc219ebd129e91b55d (patch)
tree2efa76c9803e5a6beee4d171eeca3c68e5882d81 /src/decode.c
parent3d7920e6ff7c8e8f032a8e685595bcd38e4a3028 (diff)
api: add a frame type field to Dav1dPictureParameters
Diffstat (limited to 'src/decode.c')
-rw-r--r--src/decode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/decode.c b/src/decode.c
index 7c2d437..1102e3c 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -2779,6 +2779,7 @@ int submit_frame(Dav1dContext *const c) {
}
f->cur.p.poc = f->frame_hdr.frame_offset;
+ f->cur.p.p.type = f->frame_hdr.frame_type;
f->cur.p.p.pri = f->seq_hdr.pri;
f->cur.p.p.trc = f->seq_hdr.trc;
f->cur.p.p.mtrx = f->seq_hdr.mtrx;