[vlc-commits] commit: x264: presets are from X264_BUILD >= 86 (Ilkka Ollakka )
git at videolan.org
git at videolan.org
Sun May 16 20:22:14 CEST 2010
vlc/vlc-1.1 | branch: master | Ilkka Ollakka <ileoo at iki.fi> | Sun May 16 21:22:08 2010 +0300| [6585fe65d042ab76aed5a2d8c969fbb77416cba5] | committer: Ilkka Ollakka
x264: presets are from X264_BUILD >= 86
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=6585fe65d042ab76aed5a2d8c969fbb77416cba5
---
modules/codec/x264.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index acdbc69..187c57a 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -673,7 +673,7 @@ vlc_module_begin ()
add_string( SOUT_CFG_PREFIX "stats", "x264_2pass.log", NULL, STATS_TEXT,
STATS_LONGTEXT, false )
-#if X264_BUILD >= 93
+#if X264_BUILD >= 86
add_string( SOUT_CFG_PREFIX "preset", NULL , NULL, PRESET_TEXT , PRESET_TEXT, false )
change_string_list( x264_preset_names, x264_preset_names, 0 );
add_string( SOUT_CFG_PREFIX "tune", NULL , NULL, TUNE_TEXT, TUNE_TEXT, false )
@@ -763,7 +763,7 @@ static int Open ( vlc_object_t *p_this )
p_sys->psz_stat_name = NULL;
x264_param_default( &p_sys->param );
-#if X264_BUILD >= 93
+#if X264_BUILD >= 86
char *psz_preset = var_GetString( p_enc, SOUT_CFG_PREFIX "preset" );
char *psz_tune = var_GetString( p_enc, SOUT_CFG_PREFIX "tune" );
if( *psz_preset == '\0' )
More information about the vlc-commits
mailing list