mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
libs: encoder: admit YUV420_10BPP as valid chroma
Accepts as supported the GST_VAAPI_CHROMA_TYPE_YUV420_10BPP chroma type. https://bugzilla.gnome.org/show_bug.cgi?id=771291
This commit is contained in:
parent
48e21d6ba8
commit
d744aeb5fa
1 changed files with 2 additions and 1 deletions
|
@ -568,7 +568,8 @@ is_chroma_type_supported (GstVaapiEncoder * encoder)
|
|||
return TRUE;
|
||||
|
||||
if (cip->chroma_type != GST_VAAPI_CHROMA_TYPE_YUV420 &&
|
||||
cip->chroma_type != GST_VAAPI_CHROMA_TYPE_YUV422)
|
||||
cip->chroma_type != GST_VAAPI_CHROMA_TYPE_YUV422 &&
|
||||
cip->chroma_type != GST_VAAPI_CHROMA_TYPE_YUV420_10BPP)
|
||||
goto unsupported;
|
||||
|
||||
if (!get_config_attribute (encoder, VAConfigAttribRTFormat, &format))
|
||||
|
|
Loading…
Reference in a new issue