[vlc-devel] commit: Video bitrate tolerance is advertised as kbits/sec in the help ( not bits/sec). (Antoine Cellerier )

git version control git at videolan.org
Tue May 20 10:22:08 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Tue May 20 10:05:33 2008 +0200| [4063d631ecb3558e596fc794dc3158ca8200ef4d]

Video bitrate tolerance is advertised as kbits/sec in the help (not bits/sec).

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

 modules/codec/ffmpeg/encoder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/codec/ffmpeg/encoder.c b/modules/codec/ffmpeg/encoder.c
index 7dcfa61..f48d0ab 100644
--- a/modules/codec/ffmpeg/encoder.c
+++ b/modules/codec/ffmpeg/encoder.c
@@ -298,7 +298,7 @@ int OpenEncoder( vlc_object_t *p_this )
     p_sys->i_b_frames = val.i_int;
 
     var_Get( p_enc, ENC_CFG_PREFIX "vt", &val );
-    p_sys->i_vtolerance = val.i_int;
+    p_sys->i_vtolerance = val.i_int * 1000;
 
     var_Get( p_enc, ENC_CFG_PREFIX "interlace", &val );
     p_sys->b_interlace = val.b_bool;




More information about the vlc-devel mailing list