mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-17 04:17:05 +00:00
lavc/prores: restore pict_type and key_frame setting.
This commit is contained in:
parent
b3e9f266e8
commit
859f7da543
@ -533,6 +533,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
|
|||||||
}
|
}
|
||||||
|
|
||||||
ctx->frame = frame;
|
ctx->frame = frame;
|
||||||
|
ctx->frame->pict_type = AV_PICTURE_TYPE_I;
|
||||||
|
ctx->frame->key_frame = 1;
|
||||||
ctx->first_field = 1;
|
ctx->first_field = 1;
|
||||||
|
|
||||||
buf += 8;
|
buf += 8;
|
||||||
|
Loading…
Reference in New Issue
Block a user