Copy paste bug in gstav1parse.c
First and latest condition are identical https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/blob/master/gst/videoparsers/gstvp9parse.c#L580-591
if (self->subsampling_x == 1 && self->subsampling_y == 1)
chroma_format = "4:2:0";
else if (self->subsampling_x == 1 && self->subsampling_y == 0)
chroma_format = "4:2:2";
else if (self->subsampling_x == 0 && self->subsampling_y == 1)
chroma_format = "4:4:0";
else if (self->subsampling_x == 1 && self->subsampling_y == 1)
chroma_format = "4:4:4";
if (self->parser->subsampling_x == 1 && self->parser->subsampling_y == 1)
chroma_format = "4:2:0";
else if (self->parser->subsampling_x == 1 &&
self->parser->subsampling_y == 0)
chroma_format = "4:2:2";
else if (self->parser->subsampling_x == 0 &&
self->parser->subsampling_y == 1)
chroma_format = "4:4:0";
else if (self->parser->subsampling_x == 1 &&
self->parser->subsampling_y == 1)
chroma_format = "4:4:4";