rpicamsrc: deviceprovider: also advertise constrained-baseline profile
authorTim-Philipp Müller <tim@centricular.com>
Mon, 13 Jul 2020 15:50:58 +0000 (16:50 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 23 Jul 2020 18:09:56 +0000 (19:09 +0100)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/682>

sys/rpicamsrc/gstrpicamsrcdeviceprovider.c

index cc5cd52..77f6439 100644 (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);