From 28dc4a1dd820e10336832f4d505e8a5eda1f4f52 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Thu, 30 Apr 2020 02:25:35 +0900 Subject: [PATCH] nvh264sldec: Allow constrained-baseline and baseline profiles Like d3d11h264dec, we need to relax the condition for profiles of nvh264sldec Part-of: --- sys/nvcodec/gstnvh264dec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/nvcodec/gstnvh264dec.c b/sys/nvcodec/gstnvh264dec.c index ad1c558b4c..940bbef839 100644 --- a/sys/nvcodec/gstnvh264dec.c +++ b/sys/nvcodec/gstnvh264dec.c @@ -1026,7 +1026,8 @@ gst_nv_h264_dec_register (GstPlugin * plugin, guint device_id, guint rank, cdata = g_new0 (GstNvH264DecClassData, 1); cdata->sink_caps = gst_caps_from_string ("video/x-h264, " "stream-format= (string) { avc, avc3, byte-stream }, " - "alignment= (string) au, profile = (string) { high, main }, " + "alignment= (string) au, " + "profile = (string) { high, main, constrained-baseline, baseline }, " "framerate = " GST_VIDEO_FPS_RANGE); s = gst_caps_get_structure (sink_caps, 0); -- 2.34.1