mirror of https://git.ffmpeg.org/ffmpeg.git
lavc/rawdec: propagate duration from packet to frame
This commit is contained in:
parent
4b5c7d4d9a
commit
b583ccc3db
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue