[vlc-devel] [PATCH 04/13] ts: handle VLC_CODEC_DTSHD

Thomas Guillem thomas at gllm.fr
Tue Dec 19 12:38:35 CET 2017


---
 modules/demux/mpeg/ts_psi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index e1462ddc9f..f9ed9f3573 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -1258,10 +1258,11 @@ static bool PMTSetupEsHDMV( demux_t *p_demux, ts_es_t *p_es,
         es_format_Change( p_fmt, AUDIO_ES, VLC_CODEC_A52 );
         break;
     case 0x82:
+        es_format_Change( p_fmt, AUDIO_ES, VLC_CODEC_DTS );
     case 0x85: /* DTS-HD High resolution audio */
     case 0x86: /* DTS-HD Master audio */
     case 0xA2: /* Secondary DTS audio */
-        es_format_Change( p_fmt, AUDIO_ES, VLC_CODEC_DTS );
+        es_format_Change( p_fmt, AUDIO_ES, VLC_CODEC_DTSHD );
         break;
 
     case 0x83: /* TrueHD AC3 */
-- 
2.11.0



More information about the vlc-devel mailing list