[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec x264.c,1.7,1.8
Måns Rullgård CVS
mru
Mon May 30 22:34:05 CEST 2005
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv16210/libavcodec
Modified Files:
x264.c
Log Message:
enable x264 multi-threading
Index: x264.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/x264.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- x264.c 14 May 2005 21:02:49 -0000 1.7
+++ x264.c 30 May 2005 20:34:02 -0000 1.8
@@ -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;
More information about the ffmpeg-cvslog
mailing list