From e7f514efbc32646b86024de4d42aa120de52d971 Mon Sep 17 00:00:00 2001 From: Stewart Brodie Date: Fri, 6 Dec 2013 20:50:19 +0000 Subject: [PATCH] docs: clarify encoding of strings in GstStructures and taglists https://bugzilla.gnome.org/show_bug.cgi?id=709262 --- gst/gststructure.c | 2 +- gst/gsttaglist.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gst/gststructure.c b/gst/gststructure.c index 6f7f609..7f91a5b 100644 --- a/gst/gststructure.c +++ b/gst/gststructure.c @@ -51,7 +51,7 @@ * gst_structure_remove_fields(). * * Strings in structures must be ASCII or UTF-8 encoded. Other encodings are - * not allowed. Strings must not be empty either, but may be NULL. + * not allowed. Strings may be NULL however. * * Be aware that the current #GstCaps / #GstStructure serialization into string * has limited support for nested #GstCaps / #GstStructure fields. It can only diff --git a/gst/gsttaglist.c b/gst/gsttaglist.c index 5cff28d..ed837ed 100644 --- a/gst/gsttaglist.c +++ b/gst/gsttaglist.c @@ -25,9 +25,8 @@ * * List of tags and values used to describe media metadata. * - * Strings must be in ASCII or UTF-8 encoding. No other encodings are allowed. - * - * Last reviewed on 2009-06-09 (0.10.23) + * Strings in structures must be ASCII or UTF-8 encoded. Other encodings are + * not allowed. Strings must not be empty or NULL. */ #ifdef HAVE_CONFIG_H -- 2.7.4