mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avfilter/avf_showspectrum: set color range to frame
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
cbcc88c039
commit
cbad37e5bf
@ -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) ||
|
||||
|
Loading…
Reference in New Issue
Block a user