Mercurial > libavcodec.hg
changeset 2742:5bdc60634470 libavcodec
enable x264 multi-threading
author | mru |
---|---|
date | Mon, 30 May 2005 20:34:02 +0000 |
parents | d5ac91dafaa8 |
children | 9f469a5d3a33 |
files | x264.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/x264.c Mon May 30 19:14:50 2005 +0000 +++ b/x264.c Mon May 30 20:34:02 2005 +0000 @@ -154,6 +154,8 @@ 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;