mpegts muxer: Change the default subtitle language to "und"

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Serhii Marchuk 2014-01-24 17:34:58 +02:00 committed by Michael Niedermayer
parent 290326711b
commit f8051bd31a
1 changed files with 2 additions and 2 deletions

View File

@ -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];