]> granicus.if.org Git - handbrake/commitdiff
Enable threaded decoding for ProRes video sources.
authorRodeo <tdskywalker@gmail.com>
Wed, 18 Jul 2012 23:43:19 +0000 (23:43 +0000)
committerRodeo <tdskywalker@gmail.com>
Wed, 18 Jul 2012 23:43:19 +0000 (23:43 +0000)
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

index 39fd4c5ead6fa0b33cbfd57be4dc2a61b6f38b16..17f814d619217b72618aeffc3a534c7f8872f550 100644 (file)
@@ -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;
     }