mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 10:30:05 +01:00
avfilter/vf_waveform: set color range for output frames
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained 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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user