[SCM] libav/experimental: In the rawvideo decoder, set pkt_pts in the output frame.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:22:53 UTC 2013


The following commit has been merged in the experimental branch:
commit 3c802cabba8e85e4f2949c57df947dd1823a15f5
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Thu Jan 27 21:26:38 2011 +0100

    In the rawvideo decoder, set pkt_pts in the output frame.
    
    Signed-off-by: Janne Grunau <janne-ffmpeg at jannau.net>

diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c
index c2ca91d..29cc5e4 100644
--- a/libavcodec/rawdec.c
+++ b/libavcodec/rawdec.c
@@ -124,6 +124,7 @@ static int raw_decode(AVCodecContext *avctx,
     frame->interlaced_frame = avctx->coded_frame->interlaced_frame;
     frame->top_field_first = avctx->coded_frame->top_field_first;
     frame->reordered_opaque = avctx->reordered_opaque;
+    frame->pkt_pts          = avctx->pkt->pts;
 
     //2bpp and 4bpp raw in avi and mov (yes this is ugly ...)
     if (context->buffer) {

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list