From 04d8859af6f0a4cba77818dda89f5bfb4fc437ca Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Tue, 21 Feb 2017 10:51:33 -0700 Subject: decavcodec: drop initial_padding audio samples These are samples that were not in the original source and were added by the encoder. To get a faithful reproduction of the source, they must be dropped. --- libhb/common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libhb/common.h') diff --git a/libhb/common.h b/libhb/common.h index 06a22c2a8..4d7c548b3 100644 --- a/libhb/common.h +++ b/libhb/common.h @@ -770,6 +770,9 @@ struct hb_audio_config_s PRIVATE int matrix_encoding; /* Source matrix encoding mode, set by the audio decoder */ PRIVATE uint64_t channel_layout; /* Source channel layout, set by the audio decoder */ PRIVATE hb_chan_map_t * channel_map; /* Source channel map, set by the audio decoder */ + PRIVATE int encoder_delay; /* Encoder delay in samples. + * These samples should be dropped + * when decoding */ } in; struct -- cgit v1.2.3