From 50f4b64c543de39b74e56ea32ecfbdcf194c217a Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 20 Mar 2016 10:00:53 +0100 Subject: [PATCH] avfilter/vf_waveform: set color range for output frames Signed-off-by: Paul B Mahol --- libavfilter/vf_waveform.c | 1 + 1 file changed, 1 insertion(+) 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) {