Browse Source

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.
pull/62/head
Thomas Guillem 8 years ago
parent
commit
02298c84c4
  1. 1
      modules/packetizer/dts.c
  2. 4
      modules/packetizer/dts_header.h

1
modules/packetizer/dts.c

@ -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;
}
}

4
modules/packetizer/dts_header.h

@ -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;

Loading…
Cancel
Save