[FFmpeg-cvslog] avfilter/vf_waveform: set color range for output frames
Paul B Mahol
git at videolan.org
Sun Mar 20 10:05:29 CET 2016
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Mar 20 10:00:53 2016 +0100| [50f4b64c543de39b74e56ea32ecfbdcf194c217a] | committer: Paul B Mahol
avfilter/vf_waveform: set color range for output frames
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=50f4b64c543de39b74e56ea32ecfbdcf194c217a
---
libavfilter/vf_waveform.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vf_waveform.c b/libavfilter/vf_waveform.c
index 82ceb6f..1ec7577 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) {
More information about the ffmpeg-cvslog
mailing list