[vlc-commits] demux: ts: early handle mpeg generic EAC3 descriptor
Francois Cartegnie
git at videolan.org
Wed Dec 7 16:43:42 CET 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Dec 7 16:38:35 2016 +0100| [c3334772f059094e8d1759dd183c2031c2df0904] | committer: Francois Cartegnie
demux: ts: early handle mpeg generic EAC3 descriptor
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c3334772f059094e8d1759dd183c2031c2df0904
---
modules/demux/mpeg/ts_psi.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index eaadff0..9df8539 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -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;
More information about the vlc-commits
mailing list