diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-06-13 15:07:36 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-06-13 15:10:58 +0200 |
commit | f85cad799b52eb15f3dda40f4a400ee1a6e059a1 (patch) | |
tree | 082bf4fe158f186a9efff98a3d379db6e344845a /libavfilter/avf_avectorscope.c | |
parent | 3839580b71345ec7a8245dc5faa562eb9903cb22 (diff) | |
download | ffmpeg-f85cad799b52eb15f3dda40f4a400ee1a6e059a1.tar.gz |
avfilter: properly set SAR for A->V filters
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/avf_avectorscope.c')
-rw-r--r-- | libavfilter/avf_avectorscope.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avf_avectorscope.c b/libavfilter/avf_avectorscope.c index c6e278d30d..7cb5efb402 100644 --- a/libavfilter/avf_avectorscope.c +++ b/libavfilter/avf_avectorscope.c @@ -246,6 +246,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples) return AVERROR(ENOMEM); } + s->outpicref->sample_aspect_ratio = (AVRational){1,1}; for (i = 0; i < outlink->h; i++) memset(s->outpicref->data[0] + i * s->outpicref->linesize[0], 0, outlink->w * 4); } |