Signed-off-by: Dawid Kozinski <d.kozin...@samsung.com> --- libavcodec/libxevd.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/libavcodec/libxevd.c b/libavcodec/libxevd.c index c6c7327e65..de641d85f4 100644 --- a/libavcodec/libxevd.c +++ b/libavcodec/libxevd.c @@ -415,6 +415,10 @@ static int libxevd_receive_frame(AVCodecContext *avctx, AVFrame *frame) return AVERROR(EAGAIN); } } else { + if (stat.stype == XEVD_ST_I) { + frame->pict_type = AV_PICTURE_TYPE_I; + frame->flags |= AV_FRAME_FLAG_KEY; + } return libxevd_return_frame(avctx, frame, imgb, &pkt_au); } } -- 2.25.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".