libs: encoder: h265: Fix chrome idc for 444 10 bits

GST_VAAPI_CHROMA_TYPE_YUV444_10BPP should also set chroma_format_idc
to 3 as GST_VAAPI_CHROMA_TYPE_YUV444 does.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/334>
This commit is contained in:
He Junyan 2020-05-29 15:37:24 +08:00 committed by Víctor Manuel Jáquez Leal
parent 45c2f82746
commit a2063083a5

View file

@ -448,6 +448,7 @@ gst_vaapi_utils_h265_get_chroma_format_idc (GstVaapiChromaType chroma_type)
chroma_format_idc = 2;
break;
case GST_VAAPI_CHROMA_TYPE_YUV444:
case GST_VAAPI_CHROMA_TYPE_YUV444_10BPP:
chroma_format_idc = 3;
break;
default: