Commit 10f8819e authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

Postproc: Set a description string for the postprocess variable.

This string is already in use, so no problem with stringfreeze for
1.0 (According to xtophe).
(cherry picked from commit 9a9cca16)
Signed-off-by: default avatarDerk-Jan Hartman <hartman@videolan.org>
parent 31aef931
...@@ -1745,8 +1745,12 @@ static int PostProcessCallback( vlc_object_t *p_this, char const *psz_cmd, ...@@ -1745,8 +1745,12 @@ static int PostProcessCallback( vlc_object_t *p_this, char const *psz_cmd,
} }
static void PostProcessEnable( vout_thread_t *p_vout ) static void PostProcessEnable( vout_thread_t *p_vout )
{ {
vlc_value_t text;
msg_Dbg( p_vout, "Post-processing available" ); msg_Dbg( p_vout, "Post-processing available" );
var_Create( p_vout, "postprocess", VLC_VAR_INTEGER | VLC_VAR_HASCHOICE ); var_Create( p_vout, "postprocess", VLC_VAR_INTEGER | VLC_VAR_HASCHOICE );
text.psz_string = _("Post processing");
var_Change( p_vout, "postprocess", VLC_VAR_SETTEXT, &text, NULL );
for( int i = 0; i <= 6; i++ ) for( int i = 0; i <= 6; i++ )
{ {
vlc_value_t val; vlc_value_t val;
......
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