nvh264sldec: Allow constrained-baseline and baseline profiles

Like d3d11h264dec, we need to relax the condition for profiles of nvh264sldec

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1228>
This commit is contained in:
Seungha Yang 2020-04-30 02:25:35 +09:00
parent 7db29fc382
commit 28dc4a1dd8

View file

@ -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);