summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorritsuka <[email protected]>2009-08-27 09:34:24 +0000
committerritsuka <[email protected]>2009-08-27 09:34:24 +0000
commit1660e5659bc62bdd03e0488a83bf9ad4912170b9 (patch)
treecbd681f8dfdb56c50d3745945465d016a7db5aec
parentd9288ec957cd0bab391a8580dd2975498f4e467e (diff)
Let CoreAudio decide the best sample rate. Fixed and issue when the AudioConverter couldn't be created with some specific sample rates.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2780 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/platform/macosx/encca_aac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libhb/platform/macosx/encca_aac.c b/libhb/platform/macosx/encca_aac.c
index aee157d18..8c05ae3ef 100644
--- a/libhb/platform/macosx/encca_aac.c
+++ b/libhb/platform/macosx/encca_aac.c
@@ -121,7 +121,6 @@ int encCoreAudioInit( hb_work_object_t * w, hb_job_t * job )
input.mBitsPerChannel = 32;
bzero( &output, sizeof( AudioStreamBasicDescription ) );
- output.mSampleRate = ( Float64 ) audio->config.out.samplerate;
output.mFormatID = kAudioFormatMPEG4AAC;
output.mChannelsPerFrame = pv->nchannels;
// let CoreAudio decide the rest...