Commit da2fd3f7 authored by Paul B Mahol's avatar Paul B Mahol

avcodec/lcldec: mark output frames as keyframes

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent c61dc289
...@@ -460,6 +460,9 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac ...@@ -460,6 +460,9 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
} }
frame->key_frame = 1;
frame->pict_type = AV_PICTURE_TYPE_I;
*got_frame = 1; *got_frame = 1;
/* always report that the buffer was completely consumed */ /* always report that the buffer was completely consumed */
......
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