summaryrefslogtreecommitdiffstats
path: root/libhb/scan.c
diff options
context:
space:
mode:
authoreddyg <[email protected]>2008-10-29 21:22:53 +0000
committereddyg <[email protected]>2008-10-29 21:22:53 +0000
commit1699037ff22da1699cbb02e0465c0605dd2091ea (patch)
treefb27354abf90859a3df7314032bbc3c49d00cae2 /libhb/scan.c
parentbc3633cc5801d61f1c335093b7a61e893ba66528 (diff)
ETSI TS 102 366 V1.2.1 compliant AC3 in MP4, replaces older hacked version that was hardcoding the AC3 stream information in the dac3 atom based on the AppleTV startup movie stream.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1879 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/scan.c')
-rw-r--r--libhb/scan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libhb/scan.c b/libhb/scan.c
index 1877803a1..388caa29d 100644
--- a/libhb/scan.c
+++ b/libhb/scan.c
@@ -814,6 +814,8 @@ static void LookForAudio( hb_title_t * title, hb_buffer_t * b )
audio->config.in.samplerate = info.rate;
audio->config.in.bitrate = info.bitrate;
audio->config.in.channel_layout = info.channel_layout;
+ audio->config.in.version = info.version;
+ audio->config.in.mode = info.mode;
audio->config.flags.ac3 = info.flags;
// update the audio description string based on the info we found