aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-03-20 10:00:53 +0100
committerPaul B Mahol <onemda@gmail.com>2016-03-20 10:00:53 +0100
commit50f4b64c543de39b74e56ea32ecfbdcf194c217a (patch)
treea24edc803cfb26578bafc1a3e1d222fd6313d024 /libavfilter
parent0ffa9e6ebae3be30ac84aed489ad723567a68f3d (diff)
downloadffmpeg-50f4b64c543de39b74e56ea32ecfbdcf194c217a.tar.gz
avfilter/vf_waveform: set color range for output frames
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_waveform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_waveform.c b/libavfilter/vf_waveform.c
index 82ceb6f5ae..1ec7577270 100644
--- a/libavfilter/vf_waveform.c
+++ b/libavfilter/vf_waveform.c
@@ -2616,6 +2616,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
return AVERROR(ENOMEM);
}
out->pts = in->pts;
+ av_frame_set_color_range(out, AVCOL_RANGE_JPEG);
for (k = 0; k < s->ncomp; k++) {
if (s->bits <= 8) {