From 80974559294f16623031268cc6a8fb28038e3c1a Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 13 Mar 2016 19:23:05 +0100 Subject: [PATCH] avfilter/vf_vectorscope: copy frame props, mainly for bench filter Signed-off-by: Paul B Mahol --- libavfilter/vf_vectorscope.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_vectorscope.c b/libavfilter/vf_vectorscope.c index da087abc46..79bf0df9c1 100644 --- a/libavfilter/vf_vectorscope.c +++ b/libavfilter/vf_vectorscope.c @@ -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);