mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
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:
parent
bf98b0ecd6
commit
f77f27f4c9
1 changed files with 1 additions and 0 deletions
|
@ -646,6 +646,7 @@ gst_vp9_parser_new (void)
|
|||
return NULL;
|
||||
|
||||
parser->priv = priv;
|
||||
parser->subsampling_x = parser->subsampling_y = -1;
|
||||
|
||||
return parser;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue