[vlc-devel] [PATCH] Add support for x264 >= 63
Derk-Jan Hartman
hartman at videolan.org
Fri Sep 19 10:58:47 CEST 2008
On 19 sep 2008, at 10:03, Jean-Paul Saman wrote:
> Applied, thanks for contributing.
>
> Gtz
> Jean-Paul Saman.
This cannot work unless the var_Create and the config option
declaration of b_adapt are changed as well of course.
It either that, or val.b_bool should be kept.
DJ
>
> 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 )
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
More information about the vlc-devel
mailing list