diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-01-27 21:26:38 +0100 |
---|---|---|
committer | Janne Grunau <janne-ffmpeg@jannau.net> | 2011-01-28 17:27:54 +0100 |
commit | 3c802cabba8e85e4f2949c57df947dd1823a15f5 (patch) | |
tree | 6e0033fb74dfc492b5bf740b280cf2453b7f2ba8 /libavcodec/rawdec.c | |
parent | 3e5bc7ff6a23014daf2eb0b9a22986753ae2ec4f (diff) | |
download | ffmpeg-3c802cabba8e85e4f2949c57df947dd1823a15f5.tar.gz |
In the rawvideo decoder, set pkt_pts in the output frame.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Diffstat (limited to 'libavcodec/rawdec.c')
-rw-r--r-- | libavcodec/rawdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index c2ca91d64f..29cc5e44d8 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) { |