Commit f8051bd3 authored by Serhii Marchuk's avatar Serhii Marchuk Committed by Michael Niedermayer

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

Reviewed-by: 's avatarMarton Balint <cus@passwd.hu>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 29032671
......@@ -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];
......
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