mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
45c2f82746
commit
a2063083a5
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue