mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-26 13:00:33 +00:00
hevc: set the keyframe flag on output frames
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
1493b237bd
commit
f43789b76e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user