diff options
author | van <[email protected]> | 2008-11-08 06:26:57 +0000 |
---|---|---|
committer | van <[email protected]> | 2008-11-08 06:26:57 +0000 |
commit | 89eef8d080649cc44a1abc7ed0a0248c6976951d (patch) | |
tree | 1d188bb7a927972bdf96ab24dc9544ffb180ed54 /libhb/stream.c | |
parent | 9f6d2aa0349191b7f83e9db200f0de16bf868670 (diff) |
- Always use HandBrake's DTS decoder rather than ffmpeg's even for inputs we read via ffmpeg so that we get the user-specified mixdown. Otherwise we eventually abort in the sample rate converter or audio encoder.
- Teach HB's DTS coder to handle implicit timestamps so that it doesn't screw up on mkv's & some m2ts inputs.
- mkv's produced from Bluray HD content seem to have large timestamp errors - filter them out in the decoder so that sync doesn't drop big chunks of our audio.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1904 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/stream.c')
-rwxr-xr-x | libhb/stream.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libhb/stream.c b/libhb/stream.c index 665cea6f3..ee5c5f634 100755 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -2520,6 +2520,10 @@ static void add_ffmpeg_audio( hb_title_t *title, hb_stream_t *stream, int id ) { audio->config.in.codec = HB_ACODEC_AC3; } + else if ( codec->codec_id == CODEC_ID_DTS ) + { + audio->config.in.codec = HB_ACODEC_DCA; + } else { audio->config.in.codec = HB_ACODEC_FFMPEG; |