From c3c5052550c010732b5ca31acf563ea1e3349d88 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Wed, 8 Jun 2011 21:20:08 +0000 Subject: libhb: Enable multi-threaded decode in ffmpeg Enable both slice and frame based mutli-threaded decode in ffmpeg. Uses cpu_count/2 + 1 threads. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4034 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/encavcodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libhb/encavcodec.c') diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c index da46db8c5..0474dd612 100644 --- a/libhb/encavcodec.c +++ b/libhb/encavcodec.c @@ -280,7 +280,7 @@ int encavcodecInit( hb_work_object_t * w, hb_job_t * job ) } } - if( hb_avcodec_open( context, codec ) ) + if( hb_avcodec_open( context, codec, 0 ) ) { hb_log( "encavcodecInit: avcodec_open failed" ); } -- cgit v1.2.3