projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8474ef7
)
xml-formatter: Print error if an effect can't be set when deserializing
author
Thibault Saunier
<tsaunier@igalia.com>
Fri, 20 Apr 2018 20:34:17 +0000
(17:34 -0300)
committer
Thibault Saunier
<tsaunier@igalia.com>
Fri, 20 Apr 2018 22:24:56 +0000
(19:24 -0300)
ges/ges-base-xml-formatter.c
patch
|
blob
|
history
diff --git
a/ges/ges-base-xml-formatter.c
b/ges/ges-base-xml-formatter.c
index
908267e
..
1172dfb
100644
(file)
--- a/
ges/ges-base-xml-formatter.c
+++ b/
ges/ges-base-xml-formatter.c
@@
-510,8
+510,15
@@
_set_child_property (GQuark field_id, const GValue * value,
/* FIXME: error handling? */
if (!ges_track_element_lookup_child (effect,
- g_quark_to_string (field_id), &element, &pspec))
+ g_quark_to_string (field_id), &element, &pspec)) {
+#ifndef GST_DISABLE_GST_DEBUG
+ gchar *tmp = gst_value_serialize (value);
+ GST_ERROR_OBJECT (effect, "Could not set %s=%s",
+ g_quark_to_string (field_id), tmp);
+ g_free (tmp);
+#endif
return TRUE;
+ }
g_object_set_property (G_OBJECT (element), pspec->name, value);
g_param_spec_unref (pspec);