summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-12-13 18:43:56 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-12-13 18:43:56 +0000
commitb529a33105ee055523633ce8ec281dcdadf8efa4 (patch)
tree14756afc642e3bde7effef84dde8f823a603f5d6
parentfc73a73f0aba0f63d08c25c53836313f08244caa (diff)
docs: mention that gst_tag_get_language_name() may return NULL
-rw-r--r--gst-libs/gst/tag/lang.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst-libs/gst/tag/lang.c b/gst-libs/gst/tag/lang.c
index 695f93cd..199f99c5 100644
--- a/gst-libs/gst/tag/lang.c
+++ b/gst-libs/gst/tag/lang.c
@@ -317,11 +317,12 @@ gst_tag_get_language_codes (void)
* Returns the name of the language given an ISO-639 language code, such
* as often found in a GST_TAG_LANGUAGE tag. The name will be translated
* according to the current locale (if the library was built against the
- * iso-codes package), otherwise the English name will be returned.
+ * iso-codes package, otherwise the English name will be returned).
*
* Language codes are case-sensitive and expected to be lower case.
*
- * Returns: language name in UTF-8 format. The returned string must not be
+ * Returns: language name in UTF-8 format, or NULL if @language_code could
+ * not be mapped to a language name. The returned string must not be
* modified and does not need to freed; it will stay valid until the
* application is terminated.
*