Commit 02298c84 authored by Thomas Guillem's avatar Thomas Guillem

packetizer: dts: set DTS_HD profile

Only basic set of profile: DTS or DTS_HD, we don't really care about
differentiating HD form HD-MA or others for now.
parent 1a34bf05
......@@ -276,6 +276,7 @@ static block_t *PacketizeBlock( decoder_t *p_dec, block_t **pp_block )
VLC_DTS_HEADER_SIZE )
== VLC_SUCCESS && next_header.b_substream )
{
p_dec->fmt_out.i_profile = PROFILE_DTS_HD;
p_sys->i_input_size += next_header.i_frame_size;
}
}
......
......@@ -24,6 +24,10 @@
#define VLC_DTS_HEADER_SIZE 14
#define PROFILE_DTS_INVALID -1
#define PROFILE_DTS 0
#define PROFILE_DTS_HD 1
typedef struct
{
bool b_substream;
......
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