Commit 229a8957 authored by Alexis Ballier's avatar Alexis Ballier Committed by Derk-Jan Hartman
parent e58e4ccd
...@@ -275,7 +275,12 @@ static void Close( vlc_object_t * ); ...@@ -275,7 +275,12 @@ static void Close( vlc_object_t * );
#define SUBME_TEXT N_("Subpixel motion estimation and partition decision " \ #define SUBME_TEXT N_("Subpixel motion estimation and partition decision " \
"quality") "quality")
#if X264_BUILD >= 46 /* r477 */ #if X264_BUILD >= 65
#define SUBME_MAX 9
#define SUBME_LONGTEXT N_( "This parameter controls quality versus speed " \
"tradeoffs involved in the motion estimation decision process " \
"(lower = quicker and higher = better quality). Range 1 to 9." )
#elif X264_BUILD >= 46 /* r477 */
#define SUBME_MAX 7 #define SUBME_MAX 7
#define SUBME_LONGTEXT N_( "This parameter controls quality versus speed " \ #define SUBME_LONGTEXT N_( "This parameter controls quality versus speed " \
"tradeoffs involved in the motion estimation decision process " \ "tradeoffs involved in the motion estimation decision process " \
...@@ -601,7 +606,7 @@ vlc_module_begin(); ...@@ -601,7 +606,7 @@ vlc_module_begin();
change_integer_range( 1, SUBME_MAX ); change_integer_range( 1, SUBME_MAX );
add_deprecated_alias( SOUT_CFG_PREFIX "subpel" ); /* Deprecated since 0.8.5 */ add_deprecated_alias( SOUT_CFG_PREFIX "subpel" ); /* Deprecated since 0.8.5 */
#if X264_BUILD >= 41 /* r368 */ #if X264_BUILD >= 41 && X264_BUILD < 65 /* r368 */
add_bool( SOUT_CFG_PREFIX "b-rdo", 0, NULL, B_RDO_TEXT, add_bool( SOUT_CFG_PREFIX "b-rdo", 0, NULL, B_RDO_TEXT,
B_RDO_LONGTEXT, false ); B_RDO_LONGTEXT, false );
#endif #endif
...@@ -616,7 +621,7 @@ vlc_module_begin(); ...@@ -616,7 +621,7 @@ vlc_module_begin();
CHROMA_ME_LONGTEXT, false ); CHROMA_ME_LONGTEXT, false );
#endif #endif
#if X264_BUILD >= 43 /* r390 */ #if X264_BUILD >= 43 && X264_BUILD < 65 /* r390 */
add_bool( SOUT_CFG_PREFIX "bime", 0, NULL, BIME_TEXT, add_bool( SOUT_CFG_PREFIX "bime", 0, NULL, BIME_TEXT,
BIME_LONGTEXT, false ); BIME_LONGTEXT, false );
#endif #endif
...@@ -1094,7 +1099,7 @@ static int Open ( vlc_object_t *p_this ) ...@@ -1094,7 +1099,7 @@ static int Open ( vlc_object_t *p_this )
p_sys->param.analyse.i_trellis = val.i_int; p_sys->param.analyse.i_trellis = val.i_int;
#endif #endif
#if X264_BUILD >= 41 #if X264_BUILD >= 41 && X264_BUILD < 65
var_Get( p_enc, SOUT_CFG_PREFIX "b-rdo", &val ); var_Get( p_enc, SOUT_CFG_PREFIX "b-rdo", &val );
p_sys->param.analyse.b_bframe_rdo = val.b_bool; p_sys->param.analyse.b_bframe_rdo = val.b_bool;
#endif #endif
...@@ -1104,7 +1109,7 @@ static int Open ( vlc_object_t *p_this ) ...@@ -1104,7 +1109,7 @@ static int Open ( vlc_object_t *p_this )
p_sys->param.analyse.b_fast_pskip = val.b_bool; p_sys->param.analyse.b_fast_pskip = val.b_bool;
#endif #endif
#if X264_BUILD >= 43 #if X264_BUILD >= 43 && X264_BUILD < 65
var_Get( p_enc, SOUT_CFG_PREFIX "bime", &val ); var_Get( p_enc, SOUT_CFG_PREFIX "bime", &val );
p_sys->param.analyse.b_bidir_me = val.b_bool; p_sys->param.analyse.b_bidir_me = val.b_bool;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment