Commit b583ccc3 authored by Stefano Sabatini's avatar Stefano Sabatini

lavc/rawdec: propagate duration from packet to frame

parent 4b5c7d4d
......@@ -150,6 +150,7 @@ static int raw_decode(AVCodecContext *avctx,
frame->reordered_opaque = avctx->reordered_opaque;
frame->pkt_pts = avctx->pkt->pts;
frame->pkt_pos = avctx->pkt->pos;
frame->pkt_duration = avctx->pkt->duration;
if(context->tff>=0){
frame->interlaced_frame = 1;
......
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