diff options
author | Serhii Marchuk <serhii.marchuk@gmail.com> | 2014-01-24 19:34:58 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-25 01:01:37 +0400 |
commit | f8051bd31a23fa10faa7c9ae66397963dc4ec285 (patch) | |
tree | 1d5c7c98dca6c8abd9ae902c6b64c92d4187b3ee /libavformat/mpegtsenc.c | |
parent | 290326711b1ad24aa83f89a25ae1255077b4ea49 (diff) |
mpegts muxer: Change the default subtitle language to "und"
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mpegtsenc.c')
-rw-r--r-- | libavformat/mpegtsenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 6bc5f04c96..0ade014b01 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -373,8 +373,8 @@ static void mpegts_write_pmt(AVFormatContext *s, MpegTSService *service) break; case AVMEDIA_TYPE_SUBTITLE: { - const char *language; - language = lang && strlen(lang->value)==3 ? lang->value : "eng"; + const char default_language[] = "und"; + const char *language = lang && strlen(lang->value)==3 ? lang->value : default_language; *q++ = 0x59; *q++ = 8; *q++ = language[0]; |