Commit 1b7eaead authored by Muhammad Faiz's avatar Muhammad Faiz

avfilter/showcqt: set some frame properties

Signed-off-by: 's avatarMuhammad Faiz <mfcc64@gmail.com>
parent 6935aaa7
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment