vp9parser: initialize subsampling to -1

The default value of 0 is a valid subsampling value and could be
confused with an 'unset' value.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3260>
This commit is contained in:
Matthew Waters 2022-10-25 13:22:30 +11:00 committed by GStreamer Marge Bot
parent bf98b0ecd6
commit f77f27f4c9

View file

@ -646,6 +646,7 @@ gst_vp9_parser_new (void)
return NULL;
parser->priv = priv;
parser->subsampling_x = parser->subsampling_y = -1;
return parser;
}