changeset 20340:9d88396480bb

x264: don't enable turbo in the middle pass of a 3pass encode. (broke in r20060)
author lorenm
date Sat, 21 Oct 2006 21:57:15 +0000
parents 4cb31ec45764
children 0bc1f3c65d9f
files libmpcodecs/ve_x264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_x264.c	Sat Oct 21 21:47:56 2006 +0000
+++ b/libmpcodecs/ve_x264.c	Sat Oct 21 21:57:15 2006 +0000
@@ -119,7 +119,7 @@
         parse_error |= ret;
     }
 
-    if(param.rc.b_stat_write) {
+    if(param.rc.b_stat_write && !param.rc.b_stat_read) {
         /* Adjust or disable some flags to gain speed in the first pass */
         if(turbo == 1)
         {