Browse Source

avfilter/vf_waveform: set color range for output frames

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.1
Paul B Mahol 10 years ago
parent
commit
50f4b64c54
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/vf_waveform.c

+ 1
- 0
libavfilter/vf_waveform.c View File

@@ -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) {


Loading…
Cancel
Save