vlc | branch: master | Thomas Guillem <[email protected]> | Wed Dec 20 14:03:37 2017 +0100| [02298c84c4eef4cff972b3589fbcefeef7ceb4db] | committer: 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. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=02298c84c4eef4cff972b3589fbcefeef7ceb4db --- modules/packetizer/dts.c | 1 + modules/packetizer/dts_header.h | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/modules/packetizer/dts.c b/modules/packetizer/dts.c index ed8acd1d41..c1a570c45b 100644 --- a/modules/packetizer/dts.c +++ b/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; } } diff --git a/modules/packetizer/dts_header.h b/modules/packetizer/dts_header.h index 9be4924a37..6787161cd9 100644 --- a/modules/packetizer/dts_header.h +++ b/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; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
