Commit 44678aac authored by Dennis van Amerongen's avatar Dennis van Amerongen

* extras/contrib/src/x264-svn-win32.patch: add threads count debug info to...

* extras/contrib/src/x264-svn-win32.patch: add threads count debug info to check how many threads x264 will use (threads 0 is default and will make libx264 automagically set threads = cores * 1.5) and whether win32-pthread works as expected (libx264 can report not compiled with pthread and forces threads = 1)
parent e07a781e
...@@ -94,3 +94,16 @@ Index: Makefile ...@@ -94,3 +94,16 @@ Index: Makefile
$(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libx264.so) $(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libx264.so)
$(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir)) $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir))
Index: encoder/encoder.c
===================================================================
--- encoder/encoder.c (revision 736)
+++ encoder/encoder.c (working copy)
@@ -360,6 +360,7 @@
h->param.b_pre_scenecut = 1;
#endif
}
+ x264_log( h, X264_LOG_DEBUG, "using threads = %d\n", h->param.i_threads );
if( h->param.b_interlaced )
{
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