Commit f1a5799c authored by mru's avatar mru

enable x264 multi-threading


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4325 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent bb278628
......@@ -154,6 +154,8 @@ X264_init(AVCodecContext *avctx)
x4->params.i_fps_num = avctx->time_base.den;
x4->params.i_fps_den = avctx->time_base.num;
x4->params.i_threads = avctx->thread_count;
x4->enc = x264_encoder_open(&x4->params);
if(!x4->enc)
return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment