1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avfilter/vf_setparams: Fix chroma_location being cleared

Fix chroma_location being cleared by setrange and setfield filters.
This was forgotten in 201f1cba15.

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
This commit is contained in:
Tobias Rapp
2025-04-30 10:37:52 +02:00
parent 2b6303762f
commit 0f751d3836

View File

@@ -236,6 +236,7 @@ static av_cold int init_setrange(AVFilterContext *ctx)
s->color_primaries = -1;
s->color_trc = -1;
s->colorspace = -1;
s->chroma_location = -1;
return 0;
}
@@ -272,6 +273,7 @@ static av_cold int init_setfield(AVFilterContext *ctx)
s->color_primaries = -1;
s->color_trc = -1;
s->colorspace = -1;
s->chroma_location = -1;
return 0;
}