Commit e07420cf authored by Thomas Guillem's avatar Thomas Guillem Committed by Jean-Baptiste Kempf

demux: psi: fill DTS profile

(cherry picked from commit f35b3d97)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent c99021a0
......@@ -46,6 +46,7 @@
#include "../../codec/jpeg2000.h"
#include "../../codec/opus_header.h"
#include "../../packetizer/dts_header.h"
#include "sections.h"
#include "ts_sl.h"
......@@ -1250,9 +1251,12 @@ static bool PMTSetupEsHDMV( demux_t *p_demux, ts_es_t *p_es,
case 0x81:
es_format_Change( p_fmt, AUDIO_ES, VLC_CODEC_A52 );
break;
case 0x82:
case 0x85: /* DTS-HD High resolution audio */
case 0x86: /* DTS-HD Master audio */
es_format_Change( p_fmt, AUDIO_ES, VLC_CODEC_DTS );
p_fmt->i_profile = PROFILE_DTS_HD;
break;
case 0x82:
case 0xA2: /* Secondary DTS audio */
es_format_Change( p_fmt, AUDIO_ES, VLC_CODEC_DTS );
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment