From 1660e5659bc62bdd03e0488a83bf9ad4912170b9 Mon Sep 17 00:00:00 2001 From: ritsuka Date: Thu, 27 Aug 2009 09:34:24 +0000 Subject: 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 --- libhb/platform/macosx/encca_aac.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libhb/platform/macosx/encca_aac.c') 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... -- cgit v1.2.3