Browse Source

avfilter/vf_telecine: Fix loss of AVFrame properties in output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Himangi Saraogi Michael Niedermayer 11 years ago
parent
commit
613483dcfb
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/vf_telecine.c

+ 1
- 0
libavfilter/vf_telecine.c View File

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