Browse Source

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>
tags/n2.3
Mickaël Raulet Anton Khirnov 11 years ago
parent
commit
f43789b76e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/hevc.c

+ 2
- 0
libavcodec/hevc.c View File

@@ -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…
Cancel
Save