Fix chroma_location being cleared by setrange and setfield filters. This was forgotten in 201f1cba150d44de6fedfeee4e8647170ed5fbca. Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
@@ -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)