mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 17:22:29 +00:00
xml-formatter: Lower down borring debug to _LOG
This commit is contained in:
parent
cb1ee4b641
commit
6c5a775a77
1 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue