diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-01-09 22:09:52 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-01-09 22:09:52 +0300 |
commit | cbad37e5bfe5ce54ddc0c78140ccf789c195ce8d (patch) | |
tree | f4ec06bd9c6d74ba640d91ad853694cd50a62a68 /libavfilter/avf_showspectrum.c | |
parent | cbcc88c0393f15512cbf06b895f3f58210376614 (diff) |
avfilter/avf_showspectrum: set color range to frame
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/avf_showspectrum.c')
-rw-r--r-- | libavfilter/avf_showspectrum.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c index 5b26be8fbb..d367bd53af 100644 --- a/libavfilter/avf_showspectrum.c +++ b/libavfilter/avf_showspectrum.c @@ -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) || |