Commit 8047323e authored by Thibault Saunier's avatar Thibault Saunier 🌵 Committed by GStreamer Merge Bot

xml-formatter: Add an GST_ERROR when setting control sources fails

CID 1463853

Part-of: <!180>
parent 1f94299c
......@@ -1115,8 +1115,11 @@ ges_base_xml_formatter_add_control_binding (GESBaseXmlFormatter * self,
property_name, binding_type);
g_object_set (source, "mode", mode, NULL);
gst_timed_value_control_source_set_from_list (GST_TIMED_VALUE_CONTROL_SOURCE
(source), timed_values);
if (!gst_timed_value_control_source_set_from_list
(GST_TIMED_VALUE_CONTROL_SOURCE (source), timed_values)) {
GST_ERROR_OBJECT (self, "Could not set timed values on %" GES_FORMAT,
GES_ARGS (source));
}
gst_object_unref (source);
} else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment