msdkh265dec: remove the requirement on profile

Sometimes a HEVC/H265 stream doesn't have a valid profile but MSDK can
handle this stream. Like vaapih265dec, msdkh265dec may advertise the sink
caps without profile
This commit is contained in:
Haihao Xiang 2019-08-08 11:27:19 +08:00 committed by Víctor Manuel Jáquez Leal
parent 2f920a90bb
commit 04b77a8c9d

View file

@ -47,8 +47,7 @@ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("video/x-h265, " GST_STATIC_CAPS ("video/x-h265, "
"width = (int) [ 1, MAX ], height = (int) [ 1, MAX ], " "width = (int) [ 1, MAX ], height = (int) [ 1, MAX ], "
"stream-format = (string) byte-stream , alignment = (string) au , " "stream-format = (string) byte-stream , alignment = (string) au ")
"profile = (string) { main, main-10, main-422-10, main-422-10-intra, main-444, main-444-10, main-444-10-intra } ")
); );
static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",