Commit 859f7da5 authored by Clément Bœsch's avatar Clément Bœsch

lavc/prores: restore pict_type and key_frame setting.

parent b3e9f266
......@@ -533,6 +533,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
}
ctx->frame = frame;
ctx->frame->pict_type = AV_PICTURE_TYPE_I;
ctx->frame->key_frame = 1;
ctx->first_field = 1;
buf += 8;
......
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