Browse Source

rawdec: propagate pict_type information to the output frame

Signed-off-by: Anton Khirnov <anton@khirnov.net>
tags/n0.10
Stefano Sabatini Anton Khirnov 14 years ago
parent
commit
28b4af8e38
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/rawdec.c

+ 1
- 0
libavcodec/rawdec.c View File

@@ -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;


Loading…
Cancel
Save