Commit 5985ca04 authored by James Almer's avatar James Almer

avcodec/av1_parser: skip frames with spatial_id > 0

This fixes marking keyframes in svc samples.
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent f9d43669
......@@ -101,6 +101,9 @@ static int av1_parser_parse(AVCodecParserContext *ctx,
else
continue;
if (obu->header.spatial_id > 0)
continue;
if (frame->show_existing_frame) {
AV1ReferenceFrameState *ref = &av1->ref[frame->frame_to_show_map_idx];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment