Module: libav
Branch: master
Commit: 28b4af8e38204261df2f22faae6f0a70cacb3565

Author:    Stefano Sabatini <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Wed Dec 28 00:50:28 2011 -0500

rawdec: propagate pict_type information to the output frame

Signed-off-by: Anton Khirnov <[email protected]>

---

 libavcodec/rawdec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index dcbe23c..427d109 100644
--- a/libavcodec/rawdec.c
+++ b/libavcodec/rawdec.c
@@ -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;

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to