summaryrefslogtreecommitdiffstats
path: root/libhb/decomb.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-06-08 21:20:08 +0000
committerjstebbins <[email protected]>2011-06-08 21:20:08 +0000
commitc3c5052550c010732b5ca31acf563ea1e3349d88 (patch)
tree5bc011e81849ed9eb94e189de0a6312e99c3386d /libhb/decomb.c
parent925b90ee9ee13afdc8efbf1bb3e46d564a67bb7e (diff)
libhb: Enable multi-threaded decode in ffmpeg
Enable both slice and frame based mutli-threaded decode in ffmpeg. Uses cpu_count/2 + 1 threads. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4034 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decomb.c')
-rw-r--r--libhb/decomb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/decomb.c b/libhb/decomb.c
index 0873d4b6f..5e020b11e 100644
--- a/libhb/decomb.c
+++ b/libhb/decomb.c
@@ -1904,7 +1904,7 @@ hb_filter_private_t * hb_decomb_init( int pix_fmt,
avctx_enc->flags |= CODEC_FLAG_QPEL;
}
- hb_avcodec_open(avctx_enc, enc);
+ hb_avcodec_open(avctx_enc, enc, 0);
}
pv->mcdeint_frame = avcodec_alloc_frame();