Mercurial > libavformat.hg
changeset 2476:4121545128f3 libavformat
Set the language to undefined if no language specified
author | conrad |
---|---|
date | Wed, 05 Sep 2007 00:24:22 +0000 |
parents | 365932d29eb8 |
children | d802e4390b2c |
files | matroskaenc.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/matroskaenc.c Wed Sep 05 00:24:19 2007 +0000 +++ b/matroskaenc.c Wed Sep 05 00:24:22 2007 +0000 @@ -435,6 +435,8 @@ if (st->language[0]) put_ebml_string(pb, MATROSKA_ID_TRACKLANGUAGE, st->language); + else + put_ebml_string(pb, MATROSKA_ID_TRACKLANGUAGE, "und"); // look for a codec id string specific to mkv to use, if none are found, use AVI codes for (j = 0; ff_mkv_codec_tags[j].id != CODEC_ID_NONE; j++) {