[vlc-commits] demux: ts: add check for EAC3 registration
Francois Cartegnie
git at videolan.org
Thu Jan 7 17:05:44 CET 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jan 7 17:04:50 2016 +0100| [5ff5efac6a5b7ff952f04c4449de8baa6c5e8a36] | committer: Francois Cartegnie
demux: ts: add check for EAC3 registration
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5ff5efac6a5b7ff952f04c4449de8baa6c5e8a36
---
modules/demux/mpeg/ts.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index ebbeb4c..bdfd370 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -4588,7 +4588,8 @@ static void PMTSetupEs0x06( demux_t *p_demux, ts_pes_t *p_pes,
es_format_t *p_fmt = &p_pes->es.fmt;
dvbpsi_descriptor_t *p_subs_dr = PMTEsFindDescriptor( p_dvbpsies, 0x59 );
dvbpsi_descriptor_t *desc;
- if( PMTEsFindDescriptor( p_dvbpsies, 0x7a ) )
+ if( PMTEsHasRegistration( p_demux, p_dvbpsies, "EAC3" ) ||
+ PMTEsFindDescriptor( p_dvbpsies, 0x7a ) )
{
/* DVB with stream_type 0x06 (ETS EN 300 468) */
p_fmt->i_cat = AUDIO_ES;
More information about the vlc-commits
mailing list