]> git.sesse.net Git - vlc/commitdiff
Postproc: Set a description string for the postprocess variable.
authorDerk-Jan Hartman <hartman@videolan.org>
Wed, 3 Jun 2009 21:33:24 +0000 (23:33 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Wed, 3 Jun 2009 21:33:24 +0000 (23:33 +0200)
This string is already in use, so no problem with stringfreeze for
1.0 (According to xtophe).

src/video_output/video_output.c

index 864ba003b4d12f6a036f46e6f45b6e40a5ee3719..83602344716c9bb68cb7e6c77fabad664000bb80 100644 (file)
@@ -1739,8 +1739,12 @@ static int PostProcessCallback( vlc_object_t *p_this, char const *psz_cmd,
 }
 static void PostProcessEnable( vout_thread_t *p_vout )
 {
+    vlc_value_t text;
     msg_Dbg( p_vout, "Post-processing available" );
     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++ )
     {
         vlc_value_t val;