Commit 1d981d16 authored by Ilkka Ollakka's avatar Ilkka Ollakka

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

parent a6b1608d
...@@ -206,7 +206,7 @@ vlc_module_begin () ...@@ -206,7 +206,7 @@ vlc_module_begin ()
ENC_VT_LONGTEXT, true ) ENC_VT_LONGTEXT, true )
add_bool( ENC_CFG_PREFIX "pre-me", false, ENC_PRE_ME_TEXT, add_bool( ENC_CFG_PREFIX "pre-me", false, ENC_PRE_ME_TEXT,
ENC_PRE_ME_LONGTEXT, true ) 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 ) ENC_RC_BUF_TEXT, ENC_RC_BUF_LONGTEXT, true )
add_float( ENC_CFG_PREFIX "rc-buffer-aggressivity", 1.0, add_float( ENC_CFG_PREFIX "rc-buffer-aggressivity", 1.0,
ENC_RC_BUF_AGGR_TEXT, ENC_RC_BUF_AGGR_LONGTEXT, true ) ENC_RC_BUF_AGGR_TEXT, ENC_RC_BUF_AGGR_LONGTEXT, true )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment