[vlc-devel] commit: Postproc: Set a description string for the postprocess variable. ( Derk-Jan Hartman )

git version control git at videolan.org
Wed Jun 3 23:34:31 CEST 2009


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Wed Jun  3 23:33:24 2009 +0200| [9a9cca162dc4beaa6b7a79cc7952084a3f8d74c5] | committer: 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).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9a9cca162dc4beaa6b7a79cc7952084a3f8d74c5
---

 src/video_output/video_output.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 864ba00..8360234 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -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;




More information about the vlc-devel mailing list