[MPlayer-cvslog] r20303 - trunk/libmpcodecs/ve_x264.c

lorenm subversion at mplayerhq.hu
Thu Oct 19 10:15:47 CEST 2006


Author: lorenm
Date: Thu Oct 19 10:15:47 2006
New Revision: 20303

Modified:
   trunk/libmpcodecs/ve_x264.c

Log:
make -passlogfile work with x264 again (broke in r20060)


Modified: trunk/libmpcodecs/ve_x264.c
==============================================================================
--- trunk/libmpcodecs/ve_x264.c	(original)
+++ trunk/libmpcodecs/ve_x264.c	Thu Oct 19 10:15:47 2006
@@ -119,8 +119,6 @@
             return 0;
     }
 
-    x264_param_parse(&param, "stats", passtmpfile);
-
     if(param.rc.b_stat_write) {
         /* Adjust or disable some flags to gain speed in the first pass */
         if(turbo == 1)
@@ -157,6 +155,8 @@
     param.vui.i_sar_width = d_width*height;
     param.vui.i_sar_height = d_height*width;
 
+    x264_param_parse(&param, "stats", passtmpfile);
+
     switch(outfmt) {
     case IMGFMT_I420:
         param.i_csp = X264_CSP_I420;



More information about the MPlayer-cvslog mailing list