[vlc-devel] commit: Fixed E-AC3 in ATSC TS stream. (Laurent Aimar )
git version control
git at videolan.org
Sat Oct 3 18:42:17 CEST 2009
vlc | branch: 1.0-bugfix | Laurent Aimar <fenrir at videolan.org> | Thu Oct 1 21:16:32 2009 +0200| [22868a474143e8ba618850b435dfd77694a75ad4] | committer: Laurent Aimar
Fixed E-AC3 in ATSC TS stream.
(cherry picked from commit 28cb1c9ea7c5c530a8e3d9a4451cc9b54504881b)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=22868a474143e8ba618850b435dfd77694a75ad4
---
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 514096b..607ac17 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -2083,6 +2083,9 @@ static int PIDFillFormat( ts_pid_t *pid, int i_stream_type )
case 0x85: /* DTS (audio) */
es_format_Init( fmt, AUDIO_ES, VLC_FOURCC( 'd', 't', 's', ' ' ) );
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' ) );
@@ -3671,7 +3674,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_FOURCC( 'e', 'a', 'c', '3' );
More information about the vlc-devel
mailing list