summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2008-02-14 18:57:18 +0000
committerjbrjake <[email protected]>2008-02-14 18:57:18 +0000
commit89e85a13cc9f83f7b82130113cd26a998a4fd270 (patch)
tree94505c0b92cee5a10aa706bfc3b920321fa16db8 /libhb
parent4a568a578d70c21b438400f6ed1868078306afee (diff)
Always use a sample rate of 48000hz for AC3.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1265 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/work.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 3aa534fc9..45a67b226 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -336,6 +336,9 @@ static void do_job( hb_job_t * job, int cpu_count )
if( job->acodec & HB_ACODEC_AC3 )
{
hb_log( " + audio AC3 passthrough" );
+
+ /* Hard set correct sample rate for AC3 */
+ job->arate = 48000;
}
else
{