Commit 91bc65e6 authored by Ilkka Ollakka's avatar Ilkka Ollakka

x264.c: change defaults allmost same as current x264 has

(cherry picked from commit 1b7c1d35)
parent dae373f7
...@@ -444,7 +444,7 @@ vlc_module_begin () ...@@ -444,7 +444,7 @@ vlc_module_begin ()
# endif # endif
#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 ) BFRAMES_LONGTEXT, false )
change_integer_range( 0, 16 ) change_integer_range( 0, 16 )
...@@ -469,7 +469,7 @@ vlc_module_begin () ...@@ -469,7 +469,7 @@ vlc_module_begin ()
add_bool( SOUT_CFG_PREFIX "cabac", 1, NULL, CABAC_TEXT, CABAC_LONGTEXT, add_bool( SOUT_CFG_PREFIX "cabac", 1, NULL, CABAC_TEXT, CABAC_LONGTEXT,
false ) false )
add_integer( SOUT_CFG_PREFIX "ref", 1, NULL, REF_TEXT, add_integer( SOUT_CFG_PREFIX "ref", 3, NULL, REF_TEXT,
REF_LONGTEXT, false ) REF_LONGTEXT, false )
change_integer_range( 1, 16 ) change_integer_range( 1, 16 )
add_deprecated_alias( SOUT_CFG_PREFIX "frameref" ) /* Deprecated since 0.8.5 */ add_deprecated_alias( SOUT_CFG_PREFIX "frameref" ) /* Deprecated since 0.8.5 */
...@@ -578,13 +578,13 @@ vlc_module_begin () ...@@ -578,13 +578,13 @@ vlc_module_begin ()
change_string_list( direct_pred_list, direct_pred_list_text, 0 ); change_string_list( direct_pred_list, direct_pred_list_text, 0 );
#if X264_BUILD >= 52 /* r573 */ #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 ) DIRECT_PRED_SIZE_LONGTEXT, false )
change_integer_range( -1, 1 ) change_integer_range( -1, 1 )
#endif #endif
#if X264_BUILD >= 0x0012 /* r134 */ #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 ) WEIGHTB_LONGTEXT, false )
#endif #endif
...@@ -621,7 +621,7 @@ vlc_module_begin () ...@@ -621,7 +621,7 @@ vlc_module_begin ()
#endif #endif
#if X264_BUILD >= 36 /* r318 */ #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 ) MIXED_REFS_LONGTEXT, false )
#endif #endif
...@@ -645,7 +645,7 @@ vlc_module_begin () ...@@ -645,7 +645,7 @@ vlc_module_begin ()
#endif #endif
#if X264_BUILD >= 39 /* r360 */ #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 ) TRELLIS_LONGTEXT, false )
change_integer_range( 0, 2 ) change_integer_range( 0, 2 )
#endif #endif
......
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