From: Víctor Manuel Jáquez Leal Date: Wed, 29 Mar 2017 17:20:26 +0000 (+0200) Subject: libs: encoder: admit YUV420_10BPP as valid chroma X-Git-Tag: 1.19.3~503^2~1054 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d744aeb5fa41d35f82a4fdbe5b4397335be40f87;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/gst-libs/gst/vaapi/gstvaapiencoder.c b/gst-libs/gst/vaapi/gstvaapiencoder.c index 327e215..0a87c1b 100644 --- a/gst-libs/gst/vaapi/gstvaapiencoder.c +++ b/gst-libs/gst/vaapi/gstvaapiencoder.c @@ -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))