Skip to content
Snippets Groups Projects
Commit 50f4b64c authored by Paul B Mahol's avatar Paul B Mahol
Browse files

avfilter/vf_waveform: set color range for output frames


Signed-off-by: default avatarPaul B Mahol <onemda@gmail.com>
parent 0ffa9e6e
No related branches found
No related tags found
No related merge requests found
...@@ -2616,6 +2616,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) ...@@ -2616,6 +2616,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
} }
out->pts = in->pts; out->pts = in->pts;
av_frame_set_color_range(out, AVCOL_RANGE_JPEG);
for (k = 0; k < s->ncomp; k++) { for (k = 0; k < s->ncomp; k++) {
if (s->bits <= 8) { if (s->bits <= 8) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment