avfilter/vf_telecine: Fix loss of AVFrame properties in output
authorHimangi Saraogi <himangi774@gmail.com>
Thu, 26 Mar 2015 23:04:39 +0000 (04:34 +0530)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 27 Mar 2015 01:12:10 +0000 (02:12 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_telecine.c

index c75395a..73447df 100644 (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);