Commit 528858a5 authored by conrad's avatar conrad

Set the language to undefined if no language specified


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10345 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0462df15
...@@ -435,6 +435,8 @@ static int mkv_write_tracks(AVFormatContext *s) ...@@ -435,6 +435,8 @@ static int mkv_write_tracks(AVFormatContext *s)
if (st->language[0]) if (st->language[0])
put_ebml_string(pb, MATROSKA_ID_TRACKLANGUAGE, st->language); 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 // 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++) { for (j = 0; ff_mkv_codec_tags[j].id != CODEC_ID_NONE; j++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment