summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorRodeo <[email protected]>2012-07-18 23:43:19 +0000
committerRodeo <[email protected]>2012-07-18 23:43:19 +0000
commit33c05df81676a99c1323a1a16a85eb50c1a61646 (patch)
treed323a3cdd9785ff38d9af884f22ed9b1cd014535 /libhb
parenta5fcca4c60638eb25f497a60067b39b6cea400e4 (diff)
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
Diffstat (limited to 'libhb')
-rw-r--r--libhb/decavcodec.c5
1 files changed, 1 insertions, 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;
}