Commit 613483dc authored by Himangi Saraogi's avatar Himangi Saraogi Committed by Michael Niedermayer

avfilter/vf_telecine: Fix loss of AVFrame properties in output

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0245abc7
......@@ -241,6 +241,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref)
return AVERROR(ENOMEM);
}
av_frame_copy_props(frame, inpicref);
frame->pts = ((s->start_time == AV_NOPTS_VALUE) ? 0 : s->start_time) +
outlink->frame_count * s->ts_unit;
ret = ff_filter_frame(outlink, frame);
......
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