Commit 3c802cab authored by Stefano Sabatini's avatar Stefano Sabatini Committed by Janne Grunau

In the rawvideo decoder, set pkt_pts in the output frame.

Signed-off-by: 's avatarJanne Grunau <janne-ffmpeg@jannau.net>
parent 3e5bc7ff
...@@ -124,6 +124,7 @@ static int raw_decode(AVCodecContext *avctx, ...@@ -124,6 +124,7 @@ static int raw_decode(AVCodecContext *avctx,
frame->interlaced_frame = avctx->coded_frame->interlaced_frame; frame->interlaced_frame = avctx->coded_frame->interlaced_frame;
frame->top_field_first = avctx->coded_frame->top_field_first; frame->top_field_first = avctx->coded_frame->top_field_first;
frame->reordered_opaque = avctx->reordered_opaque; frame->reordered_opaque = avctx->reordered_opaque;
frame->pkt_pts = avctx->pkt->pts;
//2bpp and 4bpp raw in avi and mov (yes this is ugly ...) //2bpp and 4bpp raw in avi and mov (yes this is ugly ...)
if (context->buffer) { if (context->buffer) {
......
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