# HG changeset patch # User lorenm # Date 1161467835 0 # Node ID 9d88396480bb6e24d1503050105171c4011e9ea0 # Parent 4cb31ec45764d1c358e961b851fcc6054a6eedd5 x264: don't enable turbo in the middle pass of a 3pass encode. (broke in r20060) diff -r 4cb31ec45764 -r 9d88396480bb libmpcodecs/ve_x264.c --- 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) {