From 04b77a8c9db39c96e62b229a7c7f42e7d0530cfe Mon Sep 17 00:00:00 2001 From: Haihao Xiang Date: Thu, 8 Aug 2019 11:27:19 +0800 Subject: [PATCH] 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 --- sys/msdk/gstmsdkh265dec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/msdk/gstmsdkh265dec.c b/sys/msdk/gstmsdkh265dec.c index 1d4dc4967f..43b27d8f7b 100644 --- a/sys/msdk/gstmsdkh265dec.c +++ b/sys/msdk/gstmsdkh265dec.c @@ -47,8 +47,7 @@ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_ALWAYS, GST_STATIC_CAPS ("video/x-h265, " "width = (int) [ 1, MAX ], height = (int) [ 1, MAX ], " - "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 } ") + "stream-format = (string) byte-stream , alignment = (string) au ") ); static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",