From 50f134512daa73b359e5b1ff9e269fe9c472e129 Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Mon, 5 Jul 2010 09:47:05 +0300 Subject: [PATCH] x264 compile fix for x264 < 102 --- modules/codec/x264.c | 2 ++ 1 file changed, 2 insertions(+) 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 ) -- 2.39.2