summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-11-13 02:15:12 +0000
committerjstebbins <[email protected]>2011-11-13 02:15:12 +0000
commitab0fc16e89d125672d8adf3c724cb66af883174f (patch)
treea9a0b3a159acbfaf7bf3d8db357e27d0c09b577c /libhb
parent750d871269cef0724c68db7f3f8105a7bf5f99c8 (diff)
Disable multi-threaded decoding of ProRes
It causes artifacts in some videos git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4346 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/decavcodec.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index b6b662f84..1882c3724 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -992,10 +992,13 @@ static int decavcodecvInit( hb_work_object_t * w, hb_job_t * job )
pv->title = w->title;
pv->list = hb_list_init();
- if( pv->job )
+ if( pv->job && pv->job->title )
{
- if( !pv->job->title || !pv->job->title->has_resolution_change )
+ if( !pv->job->title->has_resolution_change &&
+ w->codec_param != CODEC_ID_PRORES )
+ {
pv->threads = HB_FFMPEG_THREADS_AUTO;
+ }
}
if ( pv->title->opaque_priv )
{