Commit f35b3d97 authored by Thomas Guillem's avatar Thomas Guillem

demux: psi: fill DTS profile

parent 76122325
......@@ -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"
......@@ -1257,9 +1258,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