[vlc-devel] commit: Support E-AC3 in TS used by DVB. (Laurent Aimar )
git version control
git at videolan.org
Tue Sep 9 22:10:50 CEST 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Sep 9 21:41:28 2008 +0200| [9f6620a01fde16bf125b96609bcf6fb0415df457] | committer: Laurent Aimar
Support E-AC3 in TS used by DVB.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9f6620a01fde16bf125b96609bcf6fb0415df457
---
modules/demux/ts.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index b48167f..ce6b900 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) */
More information about the vlc-devel
mailing list