Commit 600d4ac4 authored by Dennis van Amerongen's avatar Dennis van Amerongen

* modules/codec/x264.c: set default for direct prediction size (direct-8x8) to...

* modules/codec/x264.c: set default for direct prediction size (direct-8x8) to -1 (smallest possible according to level); this fixes the direct 8x8 inference warning on level requirement in certain x264 setting combinations
parent 883ed8d4
......@@ -515,7 +515,7 @@ 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", 0, NULL, DIRECT_PRED_SIZE_TEXT,
add_integer( SOUT_CFG_PREFIX "direct-8x8", -1, NULL, DIRECT_PRED_SIZE_TEXT,
DIRECT_PRED_SIZE_LONGTEXT, VLC_FALSE );
change_integer_range( -1, 1 );
#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