Commit b386a19b authored by Ilkka Ollakka's avatar Ilkka Ollakka

x264: use default libx264 lookahead-value

(cherry picked from commit 444c6a067575f5ec5a002a2204c31e734f50aa04)
Signed-off-by: default avatarIlkka Ollakka <ileoo@videolan.org>
(manually removed string-change)
parent 0d5dbbc9
...@@ -619,7 +619,7 @@ vlc_module_begin () ...@@ -619,7 +619,7 @@ vlc_module_begin ()
TRELLIS_LONGTEXT, false ) TRELLIS_LONGTEXT, false )
change_integer_range( 0, 2 ) change_integer_range( 0, 2 )
add_integer( SOUT_CFG_PREFIX "lookahead", 5, NULL, LOOKAHEAD_TEXT, add_integer( SOUT_CFG_PREFIX "lookahead", 40, NULL, LOOKAHEAD_TEXT,
LOOKAHEAD_LONGTEXT, false ) LOOKAHEAD_LONGTEXT, false )
change_integer_range( 0, 60 ) change_integer_range( 0, 60 )
...@@ -1258,10 +1258,10 @@ static int Open ( vlc_object_t *p_this ) ...@@ -1258,10 +1258,10 @@ static int Open ( vlc_object_t *p_this )
vlc_mutex_unlock( &pthread_win32_mutex ); vlc_mutex_unlock( &pthread_win32_mutex );
#endif #endif
/* Set lookahead value to lower than default, if( var_GetInteger( p_enc, SOUT_CFG_PREFIX "lookahead" ) != 40 )
* as rtp-output without mux doesn't handle {
* difference that well yet*/ p_sys->param.rc.i_lookahead = var_GetInteger( p_enc, SOUT_CFG_PREFIX "lookahead" );
p_sys->param.rc.i_lookahead= var_GetInteger( p_enc, SOUT_CFG_PREFIX "lookahead" ); }
/* We don't want repeated headers, we repeat p_extra ourself if needed */ /* We don't want repeated headers, we repeat p_extra ourself if needed */
p_sys->param.b_repeat_headers = 0; p_sys->param.b_repeat_headers = 0;
......
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