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:
Stefan Sauer 2017-10-02 16:22:00 +02:00
parent e584886d06
commit eb329eec1c

View file

@ -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'",
g_quark_to_string (field->name),
_priv_gst_value_gtype_to_abbr (type));
/* TODO(ensonic): don't print NULL if field->value is not empty */
g_string_append (s, "NULL");
}
}