[vlc-commits] demux: ts: handle extended descriptors
Francois Cartegnie
git at videolan.org
Thu Jul 5 10:35:13 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jul 5 10:33:19 2018 +0200| [e3fc332b21fd30b19cb5d3e311f62e95870b0ea4] | committer: Francois Cartegnie
demux: ts: handle extended descriptors
old DTS descriptors now deprecated
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e3fc332b21fd30b19cb5d3e311f62e95870b0ea4
---
modules/demux/mpeg/ts_psi.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index 59abd8c027..dad29e41a5 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -1171,6 +1171,16 @@ static void PMTSetupEs0x06( demux_t *p_demux, ts_stream_t *p_pes,
if( PMTEsHasRegistration(p_demux, p_dvbpsies, "Opus") )
OpusSetup(p_demux, desc->p_data, desc->i_length, p_fmt);
break;
+ case 0x0E: /* DTS HD */
+ es_format_Change( p_fmt, AUDIO_ES, VLC_CODEC_DTS );
+ p_fmt->i_profile = PROFILE_DTS_HD;
+ break;
+ case 0x0F: /* DTS Neural */
+ es_format_Change( p_fmt, AUDIO_ES, VLC_CODEC_DTS );
+ break;
+ case 0x15: /* AC4, unsupported for now */
+ es_format_Change( p_fmt, AUDIO_ES, VLC_FOURCC('A', 'C', '-', '4') );
+ break;
}
}
else if( p_sys->standard == TS_STANDARD_ARIB )
More information about the vlc-commits
mailing list