mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
avcodec/av1_parser: skip frames with spatial_id > 0
This fixes marking keyframes in svc samples. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
f9d4366912
commit
5985ca0436
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user