Commit f43789b7 authored by Mickaël Raulet's avatar Mickaël Raulet Committed by Anton Khirnov

hevc: set the keyframe flag on output frames

Signed-off-by: default avatarVittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: default avatarAnton Khirnov <anton@khirnov.net>
parent 1493b237
......@@ -2503,6 +2503,8 @@ static int hevc_frame_start(HEVCContext *s)
goto fail;
}
s->ref->frame->key_frame = IS_IRAP(s);
ret = set_side_data(s);
if (ret < 0)
goto fail;
......
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