summaryrefslogtreecommitdiffstats
path: root/libhb/decavcodec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r--libhb/decavcodec.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index 45239a29c..fca6c2f45 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -1003,13 +1003,10 @@ static int decavcodecvInit( hb_work_object_t * w, hb_job_t * job )
pv->title = w->title;
pv->list = hb_list_init();
- if( pv->job && pv->job->title )
+ if( pv->job && pv->job->title && !pv->job->title->has_resolution_change &&
+ w->codec_param != CODEC_ID_PRORES )
{
- if( !pv->job->title->has_resolution_change &&
- w->codec_param != CODEC_ID_PRORES )
- {
- pv->threads = HB_FFMPEG_THREADS_AUTO;
- }
+ pv->threads = HB_FFMPEG_THREADS_AUTO;
}
if ( pv->title->opaque_priv )
{