[FFmpeg-devel] [PATCH] avfilter/vf_telecine: Fix loss of AVFrame properties in output

Himangi Saraogi himangi774 at gmail.com
Thu Mar 26 22:23:42 CET 2015


---
 libavfilter/vf_telecine.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_telecine.c b/libavfilter/vf_telecine.c
index c75395a..74f0931 100644
--- a/libavfilter/vf_telecine.c
+++ b/libavfilter/vf_telecine.c
@@ -243,6 +243,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref)
 
         frame->pts = ((s->start_time == AV_NOPTS_VALUE) ? 0 : s->start_time) +
                      outlink->frame_count * s->ts_unit;
+        av_frame_copy_props(frame, inpicref);
         ret = ff_filter_frame(outlink, frame);
     }
     av_frame_free(&inpicref);
-- 
1.9.1



More information about the ffmpeg-devel mailing list