[vlc-devel] commit: Add support for x264 >= 63 (Dominique Leuenberger )

git version control git at videolan.org
Fri Sep 19 09:59:48 CEST 2008


vlc | branch: master | Dominique Leuenberger <dominique at leuenberger.net> | Thu Sep 18 21:29:50 2008 +0200| [63b05039439565c6ba5c982c9e42f1cd238ef366] | committer: Jean-Paul Saman 

Add support for x264 >= 63

Signed-off-by: Jean-Paul Saman <jpsaman at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=63b05039439565c6ba5c982c9e42f1cd238ef366
---

 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