avfilter/vf_telecine: Fix loss of AVFrame properties in output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/127/head
Himangi Saraogi 10 years ago committed by Michael Niedermayer
parent 0245abc7c1
commit 613483dcfb
  1. 1
      libavfilter/vf_telecine.c

@ -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);

Loading…
Cancel
Save