]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/avf_showcqt.c
fate: add anequalizer test
[ffmpeg] / libavfilter / avf_showcqt.c
index 8863ea152ed5ba1c97e28ccc4d8d0722b948628d..16bb2be8d7d977d5e77fec2eabcda5f2479fdf63 100644 (file)
@@ -1073,6 +1073,8 @@ static int plot_cqt(AVFilterContext *ctx, AVFrame **frameout)
         AVFrame *out = *frameout = ff_get_video_buffer(outlink, outlink->w, outlink->h);
         if (!out)
             return AVERROR(ENOMEM);
+        out->sample_aspect_ratio = av_make_q(1, 1);
+        av_frame_set_color_range(out, AVCOL_RANGE_MPEG);
         UPDATE_TIME(s->alloc_time);
 
         if (s->bar_h) {