Commit c3334772 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: ts: early handle mpeg generic EAC3 descriptor

parent e3aa16fa
......@@ -1186,6 +1186,7 @@ static bool PMTSetupEsRegistration( demux_t *p_demux, ts_pes_es_t *p_es,
vlc_fourcc_t i_codec;
} p_regs[] = {
{ "AC-3", AUDIO_ES, VLC_CODEC_A52 },
{ "EAC3", AUDIO_ES, VLC_CODEC_EAC3 },
{ "DTS1", AUDIO_ES, VLC_CODEC_DTS },
{ "DTS2", AUDIO_ES, VLC_CODEC_DTS },
{ "DTS3", AUDIO_ES, VLC_CODEC_DTS },
......@@ -1329,7 +1330,7 @@ static void PIDFillFormat( demux_t *p_demux, ts_pes_t *p_pes,
case 0x85: /* DTS (audio) */
es_format_Init( fmt, AUDIO_ES, VLC_CODEC_DTS );
break;
case 0x87: /* E-AC3 */
case 0x87: /* E-AC3, ATSC */
es_format_Init( fmt, AUDIO_ES, VLC_CODEC_EAC3 );
break;
......
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