Commit b8cc196c authored by Jean-Paul Saman's avatar Jean-Paul Saman

(x264) b_adapt is still a boolean, so use the boolean value to set i_bframe_adaptive.

parent 705c8376
......@@ -1039,7 +1039,7 @@ static int Open ( vlc_object_t *p_this )
#if X264_BUILD >= 0x0013
var_Get( p_enc, SOUT_CFG_PREFIX "b-adapt", &val );
#if X264_BUILD >= 63
p_sys->param.i_bframe_adaptive = val.i_int;
p_sys->param.i_bframe_adaptive = val.b_bool ? X264_B_ADAPT_FAST : X264_B_ADAPT_NONE;
#else
p_sys->param.b_bframe_adaptive = val.b_bool;
#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