[vlc-commits] avcodec: set rc-buffer-size to 0, as it is default in ffmpeg/avconv

Ilkka Ollakka git at videolan.org
Tue Jul 10 12:24:04 CEST 2012


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Jul 10 13:23:22 2012 +0300| [1d981d16b744b000414cd5a2cc38db90d26d3903] | committer: Ilkka Ollakka

avcodec: set rc-buffer-size to 0, as it is default in ffmpeg/avconv

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

 modules/codec/avcodec/avcodec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/avcodec.c b/modules/codec/avcodec/avcodec.c
index d91793f..4a6849e 100644
--- a/modules/codec/avcodec/avcodec.c
+++ b/modules/codec/avcodec/avcodec.c
@@ -206,7 +206,7 @@ vlc_module_begin ()
                  ENC_VT_LONGTEXT, true )
     add_bool( ENC_CFG_PREFIX "pre-me", false, ENC_PRE_ME_TEXT,
               ENC_PRE_ME_LONGTEXT, true )
-    add_integer( ENC_CFG_PREFIX "rc-buffer-size", 224*1024*8,
+    add_integer( ENC_CFG_PREFIX "rc-buffer-size", 0,
                  ENC_RC_BUF_TEXT, ENC_RC_BUF_LONGTEXT, true )
     add_float( ENC_CFG_PREFIX "rc-buffer-aggressivity", 1.0,
                ENC_RC_BUF_AGGR_TEXT, ENC_RC_BUF_AGGR_LONGTEXT, true )



More information about the vlc-commits mailing list