Commit 28b4af8e authored by Stefano Sabatini's avatar Stefano Sabatini Committed by Anton Khirnov

rawdec: propagate pict_type information to the output frame

Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent d3a5c269
......@@ -123,6 +123,7 @@ static int raw_decode(AVCodecContext *avctx,
AVFrame * frame = (AVFrame *) data;
AVPicture * picture = (AVPicture *) data;
frame->pict_type = avctx->coded_frame->pict_type;
frame->interlaced_frame = avctx->coded_frame->interlaced_frame;
frame->top_field_first = avctx->coded_frame->top_field_first;
frame->reordered_opaque = avctx->reordered_opaque;
......
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