rpicamsrc: deviceprovider: also advertise constrained-baseline profile

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/682>
This commit is contained in:
Tim-Philipp Müller 2020-07-13 16:50:58 +01:00
parent ca3b10a0f0
commit d67e21d454

View file

@ -131,6 +131,8 @@ gst_rpi_cam_src_device_new (void)
gst_value_list_append_value (&profiles, &val);
g_value_set_static_string (&val, "main");
gst_value_list_append_value (&profiles, &val);
g_value_set_static_string (&val, "constrained-baseline");
gst_value_list_append_value (&profiles, &val);
g_value_set_static_string (&val, "baseline");
gst_value_list_append_and_take_value (&profiles, &val);
gst_structure_take_value (s, "profiles", &profiles);