Commit 6c5a775a authored by Thibault Saunier's avatar Thibault Saunier 🌵
Browse files

xml-formatter: Lower down borring debug to _LOG

parent cb1ee4b6
...@@ -1031,33 +1031,33 @@ static inline gboolean ...@@ -1031,33 +1031,33 @@ static inline gboolean
_can_serialize_spec (GParamSpec * spec) _can_serialize_spec (GParamSpec * spec)
{ {
if (!(spec->flags & G_PARAM_WRITABLE)) { if (!(spec->flags & G_PARAM_WRITABLE)) {
GST_DEBUG ("%s from %s is not writable", GST_LOG ("%s from %s is not writable",
spec->name, g_type_name (spec->owner_type)); spec->name, g_type_name (spec->owner_type));
return FALSE; return FALSE;
} else if (spec->flags & G_PARAM_CONSTRUCT_ONLY) { } else if (spec->flags & G_PARAM_CONSTRUCT_ONLY) {
GST_DEBUG ("%s from %s is construct only", GST_LOG ("%s from %s is construct only",
spec->name, g_type_name (spec->owner_type)); spec->name, g_type_name (spec->owner_type));
return FALSE; return FALSE;
} else if (spec->flags & GES_PARAM_NO_SERIALIZATION && } else if (spec->flags & GES_PARAM_NO_SERIALIZATION &&
g_type_is_a (spec->owner_type, GES_TYPE_TIMELINE_ELEMENT)) { g_type_is_a (spec->owner_type, GES_TYPE_TIMELINE_ELEMENT)) {
GST_DEBUG ("%s from %s is set as GES_PARAM_NO_SERIALIZATION", GST_LOG ("%s from %s is set as GES_PARAM_NO_SERIALIZATION",
spec->name, g_type_name (spec->owner_type)); spec->name, g_type_name (spec->owner_type));
return FALSE; return FALSE;
} else if (g_type_is_a (G_PARAM_SPEC_VALUE_TYPE (spec), G_TYPE_OBJECT)) { } else if (g_type_is_a (G_PARAM_SPEC_VALUE_TYPE (spec), G_TYPE_OBJECT)) {
GST_DEBUG ("%s from %s contains GObject, can't serialize that.", GST_LOG ("%s from %s contains GObject, can't serialize that.",
spec->name, g_type_name (spec->owner_type)); spec->name, g_type_name (spec->owner_type));
return FALSE; return FALSE;
} else if ((g_type_is_a (spec->owner_type, GST_TYPE_OBJECT) && } else if ((g_type_is_a (spec->owner_type, GST_TYPE_OBJECT) &&
!g_strcmp0 (spec->name, "name"))) { !g_strcmp0 (spec->name, "name"))) {
GST_DEBUG ("We do not want to serialize the name of GstObjects."); GST_LOG ("We do not want to serialize the name of GstObjects.");
return FALSE; return FALSE;
} else if (G_PARAM_SPEC_VALUE_TYPE (spec) == G_TYPE_GTYPE) { } else if (G_PARAM_SPEC_VALUE_TYPE (spec) == G_TYPE_GTYPE) {
GST_DEBUG ("%s from %s contains a GType, can't serialize.", GST_LOG ("%s from %s contains a GType, can't serialize.",
spec->name, g_type_name (spec->owner_type)); spec->name, g_type_name (spec->owner_type));
return FALSE; return FALSE;
} }
......
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