diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-07-21 00:54:47 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-07-21 01:02:06 +0100 |
commit | ced14a1ff7a0a7190be214848d3de5af2ab7b0ad (patch) | |
tree | 3a2a3d19ee4759e54d756a49ec676644e7d3d3cd /tests | |
parent | b04587f4f772fc0a166b8a75314cd31a20a6f964 (diff) | |
download | gst-plugins-bad-ced14a1ff7a0a7190be214848d3de5af2ab7b0ad.tar.gz gst-plugins-bad-ced14a1ff7a0a7190be214848d3de5af2ab7b0ad.tar.bz2 gst-plugins-bad-ced14a1ff7a0a7190be214848d3de5af2ab7b0ad.zip |
katedec: only put primary language tag in GST_TAG_LANGUAGE
Only put primary language into GST_TAG_LANGUAGE, and convert to lower case,
ie. only use "en" of "en_GB". This is per our tag documentation and hence
what apps expect. Also add example to kateenc property description so people
know a language code is wanted here.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/elements/kate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/elements/kate.c b/tests/check/elements/kate.c index 551d72a1..c848cc5c 100644 --- a/tests/check/elements/kate.c +++ b/tests/check/elements/kate.c @@ -356,7 +356,7 @@ GST_START_TEST (test_kate_identification_header) GST_TAG_LANGUAGE_CODE), 1); fail_unless (gst_tag_list_get_string (tag_list, GST_TAG_LANGUAGE_CODE, &language)); - fail_unless_equals_string (language, "en_GB"); + fail_unless_equals_string (language, "en"); g_free (language); fail_unless_equals_int (gst_tag_list_get_tag_size (tag_list, "title"), 1); fail_unless (gst_tag_list_get_string (tag_list, GST_TAG_TITLE, &title)); |