mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
vp9parse: Fix the subsampling_x/y to chroma format mapping.
The chroma format 4:4:4 needs both subsampling_x and subsampling_y equal to 0. Fixes: #1502 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1974>
This commit is contained in:
parent
82a9e4630c
commit
1029c84dbf
1 changed files with 2 additions and 2 deletions
|
@ -586,8 +586,8 @@ gst_vp9_parse_update_src_caps (GstVp9Parse * self, GstCaps * caps)
|
|||
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)
|
||||
else if (self->parser->subsampling_x == 0 &&
|
||||
self->parser->subsampling_y == 0)
|
||||
chroma_format = "4:4:4";
|
||||
|
||||
if (chroma_format)
|
||||
|
|
Loading…
Reference in a new issue