You've already forked FFmpeg
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user