mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
structure: add a todo comment
Printing NULL is confusing when the type is e.g. a GArray that is not empty.
This commit is contained in:
parent
e584886d06
commit
eb329eec1c
1 changed files with 1 additions and 0 deletions
|
@ -1829,6 +1829,7 @@ priv_gst_structure_append_to_gstring (const GstStructure * structure,
|
||||||
GST_WARNING ("No value transform to serialize field '%s' of type '%s'",
|
GST_WARNING ("No value transform to serialize field '%s' of type '%s'",
|
||||||
g_quark_to_string (field->name),
|
g_quark_to_string (field->name),
|
||||||
_priv_gst_value_gtype_to_abbr (type));
|
_priv_gst_value_gtype_to_abbr (type));
|
||||||
|
/* TODO(ensonic): don't print NULL if field->value is not empty */
|
||||||
g_string_append (s, "NULL");
|
g_string_append (s, "NULL");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue