mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
xml-formatter: Add an GST_ERROR when setting control sources fails
CID 1463853 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/180>
This commit is contained in:
parent
1f94299c49
commit
8047323e93
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue