avfilter/vf_vectorscope: copy frame props, mainly for bench filter
authorPaul B Mahol <onemda@gmail.com>
Sun, 13 Mar 2016 18:23:05 +0000 (19:23 +0100)
committerPaul B Mahol <onemda@gmail.com>
Sun, 13 Mar 2016 18:23:44 +0000 (19:23 +0100)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_vectorscope.c

index da087ab..79bf0df 100644 (file)
@@ -1215,7 +1215,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
         av_frame_free(&in);
         return AVERROR(ENOMEM);
     }
-    out->pts = in->pts;
+    av_frame_copy_props(out, in);
 
     s->vectorscope(s, in, out, s->pd);
     s->graticulef(s, out, s->x, s->y, s->pd, s->cs);