diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-12-13 18:43:56 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-12-13 18:43:56 +0000 |
commit | b529a33105ee055523633ce8ec281dcdadf8efa4 (patch) | |
tree | 14756afc642e3bde7effef84dde8f823a603f5d6 | |
parent | fc73a73f0aba0f63d08c25c53836313f08244caa (diff) |
docs: mention that gst_tag_get_language_name() may return NULL
-rw-r--r-- | gst-libs/gst/tag/lang.c | 5 |
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. * |