diff options
author | lorenm <lorenm@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-19 08:15:47 +0000 |
---|---|---|
committer | lorenm <lorenm@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-19 08:15:47 +0000 |
commit | 9f8a17df72b9db86ea0591ecc924af60d84b4442 (patch) | |
tree | 5293a51e44c4e2404b44ef1778410c51479637cc | |
parent | 7abe5a4ef864af8ec4550b2abcd4d4a992bb0848 (diff) | |
download | mpv-9f8a17df72b9db86ea0591ecc924af60d84b4442.tar.bz2 mpv-9f8a17df72b9db86ea0591ecc924af60d84b4442.tar.xz |
make -passlogfile work with x264 again (broke in r20060)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20303 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/ve_x264.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/ve_x264.c b/libmpcodecs/ve_x264.c index 346296ead2..c56d2cbfd6 100644 --- a/libmpcodecs/ve_x264.c +++ b/libmpcodecs/ve_x264.c @@ -119,8 +119,6 @@ int x264enc_set_param(m_option_t* opt, char* arg) return 0; } - x264_param_parse(¶m, "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 @@ static int config(struct vf_instance_s* vf, int width, int height, int d_width, param.vui.i_sar_width = d_width*height; param.vui.i_sar_height = d_height*width; + x264_param_parse(¶m, "stats", passtmpfile); + switch(outfmt) { case IMGFMT_I420: param.i_csp = X264_CSP_I420; |