Commit 65c64485 authored by Dominique Leuenberger's avatar Dominique Leuenberger Committed by Jean-Paul Saman

Add support for x264 >= 63

Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
(cherry picked from commit 63b05039)
parent 89708510
......@@ -1038,7 +1038,11 @@ 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;
#else
p_sys->param.b_bframe_adaptive = val.b_bool;
#endif
var_Get( p_enc, SOUT_CFG_PREFIX "b-bias", &val );
if( val.i_int >= -100 && val.i_int <= 100 )
......
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