[vlc-commits] commit: x264: set b_vfr_input to 0, as it seems to matter now ( Ilkka Ollakka )

git at videolan.org git at videolan.org
Thu Apr 1 13:31:01 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Mar 29 15:22:55 2010 +0300| [e3d07bcd541b64cf823efd3d04f70f5d15c9b21a] | committer: Ilkka Ollakka 

x264: set b_vfr_input to 0, as it seems to matter now

I didn't observe any issues with 1.1 or 1.0.5 from file-input, but
lets just set it just in case when we have fps-value.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e3d07bcd541b64cf823efd3d04f70f5d15c9b21a
---

 modules/codec/x264.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index 8038c12..ec79dae 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -1069,6 +1069,7 @@ static int  Open ( vlc_object_t *p_this )
     {
         p_sys->param.i_fps_num = p_enc->fmt_in.video.i_frame_rate;
         p_sys->param.i_fps_den = p_enc->fmt_in.video.i_frame_rate_base;
+        p_sys->param.b_vfr_input = 0;
     }
 
     /* Check slice-options */



More information about the vlc-commits mailing list