Skip to content
Snippets Groups Projects
Commit b583ccc3 authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

lavc/rawdec: propagate duration from packet to frame

parent 4b5c7d4d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment