[vlc-devel] [PATCH] Add support for x264 >= 63
Jean-Paul Saman
jpsaman at videolan.org
Fri Sep 19 10:03:47 CEST 2008
Applied, thanks for contributing.
Gtz
Jean-Paul Saman.
Dominique Leuenberger wrote:
> ---
> modules/codec/x264.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/modules/codec/x264.c b/modules/codec/x264.c
> index 5ff5c10..84ade08 100644
> --- a/modules/codec/x264.c
> +++ b/modules/codec/x264.c
> @@ -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 )
More information about the vlc-devel
mailing list