[vlc-devel] commit: x264.c: change defaults allmost same as current x264 has ( Ilkka Ollakka )
git version control
git at videolan.org
Thu Sep 17 12:57:01 CEST 2009
vlc | branch: 1.0-bugfix | Ilkka Ollakka <ileoo at videolan.org> | Tue Jul 21 14:04:20 2009 +0300| [91bc65e627ec478d0866af309dd4ff25f4d6115e] | committer: Ilkka Ollakka
x264.c: change defaults allmost same as current x264 has
(cherry picked from commit 1b7c1d35ec184017f3bb418055f535c5f8f22814)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=91bc65e627ec478d0866af309dd4ff25f4d6115e
---
modules/codec/x264.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index fbe32b6..053c4a0 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -444,7 +444,7 @@ vlc_module_begin ()
# endif
#endif
- add_integer( SOUT_CFG_PREFIX "bframes", 0, NULL, BFRAMES_TEXT,
+ add_integer( SOUT_CFG_PREFIX "bframes", 3, NULL, BFRAMES_TEXT,
BFRAMES_LONGTEXT, false )
change_integer_range( 0, 16 )
@@ -469,7 +469,7 @@ vlc_module_begin ()
add_bool( SOUT_CFG_PREFIX "cabac", 1, NULL, CABAC_TEXT, CABAC_LONGTEXT,
false )
- add_integer( SOUT_CFG_PREFIX "ref", 1, NULL, REF_TEXT,
+ add_integer( SOUT_CFG_PREFIX "ref", 3, NULL, REF_TEXT,
REF_LONGTEXT, false )
change_integer_range( 1, 16 )
add_deprecated_alias( SOUT_CFG_PREFIX "frameref" ) /* Deprecated since 0.8.5 */
@@ -578,13 +578,13 @@ vlc_module_begin ()
change_string_list( direct_pred_list, direct_pred_list_text, 0 );
#if X264_BUILD >= 52 /* r573 */
- add_integer( SOUT_CFG_PREFIX "direct-8x8", -1, NULL, DIRECT_PRED_SIZE_TEXT,
+ add_integer( SOUT_CFG_PREFIX "direct-8x8", 1, NULL, DIRECT_PRED_SIZE_TEXT,
DIRECT_PRED_SIZE_LONGTEXT, false )
change_integer_range( -1, 1 )
#endif
#if X264_BUILD >= 0x0012 /* r134 */
- add_bool( SOUT_CFG_PREFIX "weightb", 0, NULL, WEIGHTB_TEXT,
+ add_bool( SOUT_CFG_PREFIX "weightb", 1, NULL, WEIGHTB_TEXT,
WEIGHTB_LONGTEXT, false )
#endif
@@ -621,7 +621,7 @@ vlc_module_begin ()
#endif
#if X264_BUILD >= 36 /* r318 */
- add_bool( SOUT_CFG_PREFIX "mixed-refs", 0, NULL, MIXED_REFS_TEXT,
+ add_bool( SOUT_CFG_PREFIX "mixed-refs", 1, NULL, MIXED_REFS_TEXT,
MIXED_REFS_LONGTEXT, false )
#endif
@@ -645,7 +645,7 @@ vlc_module_begin ()
#endif
#if X264_BUILD >= 39 /* r360 */
- add_integer( SOUT_CFG_PREFIX "trellis", 0, NULL, TRELLIS_TEXT,
+ add_integer( SOUT_CFG_PREFIX "trellis", 1, NULL, TRELLIS_TEXT,
TRELLIS_LONGTEXT, false )
change_integer_range( 0, 2 )
#endif
More information about the vlc-devel
mailing list