Commit 02240a9b authored by Ilkka Ollakka's avatar Ilkka Ollakka Committed by Ilkka Ollakka

x264: add forgotten help-text to preset/tune options

(cherry picked from commit 6149d37d00adab4e219b22653518f67754d54566)
Signed-off-by: default avatarIlkka Ollakka <ileoo@iki.fi>
parent 7914a0bd
...@@ -385,6 +385,10 @@ static void Close( vlc_object_t * ); ...@@ -385,6 +385,10 @@ static void Close( vlc_object_t * );
#define HRD_TEXT N_("HRD-timing information") #define HRD_TEXT N_("HRD-timing information")
#define HRD_LONGTEXT N_("HRD-timing information") #define HRD_LONGTEXT N_("HRD-timing information")
#define TUNE_TEXT N_("Tune the settings for a particular type of source or situation. " \
"Overridden by user settings." )
#define PRESET_TEXT N_("Use preset as default settings. Overridden by user settings." )
static const char *const enc_me_list[] = static const char *const enc_me_list[] =
{ "dia", "hex", "umh", "esa", "tesa" }; { "dia", "hex", "umh", "esa", "tesa" };
static const char *const enc_me_list_text[] = static const char *const enc_me_list_text[] =
...@@ -669,9 +673,9 @@ vlc_module_begin () ...@@ -669,9 +673,9 @@ vlc_module_begin ()
add_string( SOUT_CFG_PREFIX "stats", "x264_2pass.log", NULL, STATS_TEXT, add_string( SOUT_CFG_PREFIX "stats", "x264_2pass.log", NULL, STATS_TEXT,
STATS_LONGTEXT, false ) STATS_LONGTEXT, false )
add_string( SOUT_CFG_PREFIX "preset", NULL , NULL, NULL, NULL, false ) add_string( SOUT_CFG_PREFIX "preset", NULL , NULL, PRESET_TEXT , PRESET_TEXT, false )
change_string_list( x264_preset_names, x264_preset_names, 0 ); change_string_list( x264_preset_names, x264_preset_names, 0 );
add_string( SOUT_CFG_PREFIX "tune", NULL , NULL, NULL, NULL, false ) add_string( SOUT_CFG_PREFIX "tune", NULL , NULL, TUNE_TEXT, TUNE_TEXT, false )
change_string_list( x264_tune_names, x264_tune_names, 0 ); change_string_list( x264_tune_names, x264_tune_names, 0 );
vlc_module_end () vlc_module_end ()
......
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