[FFmpeg-soc] [soc]: r659 - matroska/matroskaenc.c
conrad
subversion at mplayerhq.hu
Fri Aug 10 01:37:16 CEST 2007
Author: conrad
Date: Fri Aug 10 01:37:16 2007
New Revision: 659
Log:
Set the language to undefined if no language specified
Modified:
matroska/matroskaenc.c
Modified: matroska/matroskaenc.c
==============================================================================
--- matroska/matroskaenc.c (original)
+++ matroska/matroskaenc.c Fri Aug 10 01:37:16 2007
@@ -435,6 +435,8 @@ static int mkv_write_tracks(AVFormatCont
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++) {
More information about the FFmpeg-soc
mailing list