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:
e584886
)
structure: add a todo comment
author
Stefan Sauer
<ensonic@users.sf.net>
Mon, 2 Oct 2017 14:22:00 +0000
(16:22 +0200)
committer
Stefan Sauer
<ensonic@users.sf.net>
Mon, 2 Oct 2017 14:23:31 +0000
(16:23 +0200)
Printing NULL is confusing when the type is e.g. a GArray that is not empty.
gst/gststructure.c
patch
|
blob
|
history
diff --git
a/gst/gststructure.c
b/gst/gststructure.c
index 8596c2bced999bb781946678f7432950e2bfec28..068b4fae8ed5f3fff6510ff0bd3ac8ba00f6337a 100644
(file)
--- a/
gst/gststructure.c
+++ b/
gst/gststructure.c
@@
-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");
}
}