From: Ilkka Ollakka Date: Mon, 5 Jul 2010 06:47:05 +0000 (+0300) Subject: x264 compile fix for x264 < 102 X-Git-Tag: 1.2.0-pre1~5946 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=50f134512daa73b359e5b1ff9e269fe9c472e129;p=vlc x264 compile fix for x264 < 102 --- diff --git a/modules/codec/x264.c b/modules/codec/x264.c index 80bf7df4ce..7b6b8096ba 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 )