[vlc-devel] commit: Fixed E-AC3 in ATSC TS stream. (Laurent Aimar )
git version control
git at videolan.org
Sat Oct 3 18:32:55 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Oct 1 21:16:32 2009 +0200| [28cb1c9ea7c5c530a8e3d9a4451cc9b54504881b] | committer: Laurent Aimar
Fixed E-AC3 in ATSC TS stream.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28cb1c9ea7c5c530a8e3d9a4451cc9b54504881b
---
modules/demux/ts.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 31e05c0..74e5b51 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -2080,6 +2080,9 @@ static int PIDFillFormat( ts_pid_t *pid, int i_stream_type )
case 0x85: /* DTS (audio) */
es_format_Init( fmt, AUDIO_ES, VLC_CODEC_DTS );
break;
+ case 0x87: /* E-AC3 */
+ es_format_Init( fmt, AUDIO_ES, VLC_CODEC_EAC3 );
+ break;
case 0x91: /* A52 vls (audio) */
es_format_Init( fmt, AUDIO_ES, VLC_FOURCC( 'a', '5', '2', 'b' ) );
@@ -3685,7 +3688,6 @@ static void PMTSetupEsHDMV( demux_t *p_demux, ts_pid_t *pid,
break;
case 0x84: /* E-AC3 */
- case 0x87: /* E-AC3 */
case 0xA1: /* Secondary E-AC3 */
p_fmt->i_cat = AUDIO_ES;
p_fmt->i_codec = VLC_CODEC_EAC3;
More information about the vlc-devel
mailing list