]> git.sesse.net Git - vlc/commitdiff
Support E-AC3 in TS used by DVB.
authorLaurent Aimar <fenrir@videolan.org>
Tue, 9 Sep 2008 19:41:28 +0000 (21:41 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 9 Sep 2008 20:13:48 +0000 (22:13 +0200)
modules/demux/ts.c

index b48167fe5034749d20176bae7a8ca6271c077e44..ce6b900f5677e55743ac47cf7197f8a60daa995f 100644 (file)
@@ -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) */