From 33c05df81676a99c1323a1a16a85eb50c1a61646 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Wed, 18 Jul 2012 23:43:19 +0000 Subject: [PATCH] Enable threaded decoding for ProRes video sources. The bug which was worked around by disabling threading has now been fixed in Libav, and I didn't find any issue when testing additional ProRes sources. Reference: https://forum.handbrake.fr/viewtopic.php?f=12&t=22599 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4866 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/decavcodec.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c index 39fd4c5ea..17f814d61 100644 --- a/libhb/decavcodec.c +++ b/libhb/decavcodec.c @@ -963,10 +963,7 @@ static int decavcodecvInit( hb_work_object_t * w, hb_job_t * job ) pv->title = w->title; pv->list = hb_list_init(); - // XXX: A bug in libav prores decoder causes incorrect decoding when - // threaded decode is enabled. So disable it till this bug is fixed. - if( pv->job && pv->job->title && !pv->job->title->has_resolution_change && - w->codec_param != CODEC_ID_PRORES ) + if( pv->job && pv->job->title && !pv->job->title->has_resolution_change ) { pv->threads = HB_FFMPEG_THREADS_AUTO; } -- 2.40.0