projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a9d530
)
enable x264 multi-threading
author
Måns Rullgård
<mans@mansr.com>
Mon, 30 May 2005 20:34:02 +0000
(20:34 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Mon, 30 May 2005 20:34:02 +0000
(20:34 +0000)
Originally committed as revision 4325 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/x264.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/x264.c
b/libavcodec/x264.c
index
0f84139
..
0e850f5
100644
(file)
--- a/
libavcodec/x264.c
+++ b/
libavcodec/x264.c
@@
-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;