1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02: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:
Mickaël Raulet
2014-07-04 11:21:55 -04:00
committed by Anton Khirnov
parent 1493b237bd
commit f43789b76e

View File

@@ -2503,6 +2503,8 @@ static int hevc_frame_start(HEVCContext *s)
goto fail; goto fail;
} }
s->ref->frame->key_frame = IS_IRAP(s);
ret = set_side_data(s); ret = set_side_data(s);
if (ret < 0) if (ret < 0)
goto fail; goto fail;