[vlc-commits] commit: x264 compile fix for x264 < 102 (Ilkka Ollakka )

git at videolan.org git at videolan.org
Mon Jul 5 08:47:21 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon Jul  5 09:47:05 2010 +0300| [50f134512daa73b359e5b1ff9e269fe9c472e129] | committer: Ilkka Ollakka 

x264 compile fix for x264 < 102

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

 modules/codec/x264.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index 80bf7df..7b6b809 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -424,9 +424,11 @@ vlc_module_begin ()
     add_integer( SOUT_CFG_PREFIX "min-keyint", 25, NULL, MIN_KEYINT_TEXT,
                  MIN_KEYINT_LONGTEXT, false )
 
+#if X264_BUILD >= 102
     add_string( SOUT_CFG_PREFIX "opengop", "none", NULL, OPENGOP_TEXT,
                OPENGOP_LONGTEXT,false )
         change_string_list( x264_open_gop_names, x264_open_gop_names, 0 );
+#endif
 
     add_integer( SOUT_CFG_PREFIX "scenecut", 40, NULL, SCENE_TEXT,
                  SCENE_LONGTEXT, false )



More information about the vlc-commits mailing list