diff options
author | jstebbins <[email protected]> | 2011-11-13 02:15:12 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-11-13 02:15:12 +0000 |
commit | ab0fc16e89d125672d8adf3c724cb66af883174f (patch) | |
tree | a9a0b3a159acbfaf7bf3d8db357e27d0c09b577c | |
parent | 750d871269cef0724c68db7f3f8105a7bf5f99c8 (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
-rw-r--r-- | libhb/decavcodec.c | 7 |
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 ) { |