Commit aa56c37c authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'f43789b7'

* commit 'f43789b7':
  hevc: set the keyframe flag on output frames

See: e2760de6Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 673a2b38 f43789b7
......@@ -2388,6 +2388,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;
......@@ -2879,7 +2881,6 @@ static int hevc_decode_frame(AVCodecContext *avctx, void *data, int *got_output,
s->is_md5 = 0;
if (s->is_decoded) {
s->ref->frame->key_frame = IS_IRAP(s);
av_log(avctx, AV_LOG_DEBUG, "Decoded frame with POC %d.\n", s->poc);
s->is_decoded = 0;
}
......
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