mpegts: Use big endian UCS-2 coding

Parsing of control codes requires a big endian character map
This commit is contained in:
Jesper Larsen 2013-10-30 10:42:07 +01:00
parent 73c82e3f1c
commit 465dea6f32

View file

@ -99,7 +99,7 @@ typedef enum
_ICONV_ISO8859_13,
_ICONV_ISO8859_14,
_ICONV_ISO8859_15,
_ICONV_ISO10646_UC2,
_ICONV_UCS_2BE,
_ICONV_EUC_KR,
_ICONV_GB2312,
_ICONV_UTF_16BE,
@ -126,7 +126,7 @@ static const gchar *iconvtablename[] = {
"iso-8859-13",
"iso-8859-14",
"iso-8859-15",
"ISO-10646/UCS2",
"UCS-2BE",
"EUC-KR",
"GB2312",
"UTF-16BE",
@ -200,7 +200,7 @@ get_encoding (const gchar * text, guint * start_text, gboolean * is_multibyte)
break;
}
case 0x11:
encoding = _ICONV_ISO10646_UC2;
encoding = _ICONV_UCS_2BE;
*start_text = 1;
*is_multibyte = TRUE;
break;