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

Ilkka Ollakka git at videolan.org
Thu Sep 13 10:50:48 CEST 2012


vlc/vlc-2.0 | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Tue Jul 10 13:23:22 2012 +0300| [491520518e91b2b8334f8d1fa586bc0c41db2168] | committer: Jean-Baptiste Kempf

avcodec: set rc-buffer-size to 0, as it is default in ffmpeg/avconv
(cherry picked from commit 1d981d16b744b000414cd5a2cc38db90d26d3903)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 621f7f3..cd811e9 100644
--- a/modules/codec/avcodec/avcodec.c
+++ b/modules/codec/avcodec/avcodec.c
@@ -163,7 +163,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