Commit cbad37e5 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/avf_showspectrum: set color range to frame

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent cbcc88c0
......@@ -370,6 +370,7 @@ static int config_output(AVFilterLink *outlink)
memset(outpicref->data[1] + i * outpicref->linesize[1], 128, outlink->w);
memset(outpicref->data[2] + i * outpicref->linesize[2], 128, outlink->w);
}
av_frame_set_color_range(outpicref, AVCOL_RANGE_JPEG);
}
if ((s->orientation == VERTICAL && s->xpos >= s->w) ||
......
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