From: Laurent Aimar Date: Tue, 9 Sep 2008 19:41:28 +0000 (+0200) Subject: Support E-AC3 in TS used by DVB. X-Git-Tag: 1.0.0-pre1~3390 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9f6620a01fde16bf125b96609bcf6fb0415df457;p=vlc Support E-AC3 in TS used by DVB. --- diff --git a/modules/demux/ts.c b/modules/demux/ts.c index b48167fe50..ce6b900f56 100644 --- a/modules/demux/ts.c +++ b/modules/demux/ts.c @@ -3354,6 +3354,12 @@ static void PMTCallBack( demux_t *p_demux, dvbpsi_pmt_t *p_pmt ) pid->es->fmt.i_cat = AUDIO_ES; pid->es->fmt.i_codec = VLC_FOURCC( 'a', '5', '2', ' ' ); } + else if( p_dr->i_tag == 0x7a ) + { + /* DVB with stream_type 0x06 (ETS EN 300 468) */ + pid->es->fmt.i_cat = AUDIO_ES; + pid->es->fmt.i_codec = VLC_FOURCC( 'e', 'a', 'c', '3' ); + } else if( p_dr->i_tag == 0x73 ) { /* DTS audio descriptor (ETSI TS 101 154 Annex F) */