[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:41:53 CEST 2009
vlc | branch: 1.0-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Wed Jun 3 23:33:24 2009 +0200| [10f8819e0842cf324d5386329433e73371198065] | 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).
(cherry picked from commit 9a9cca162dc4beaa6b7a79cc7952084a3f8d74c5)
Signed-off-by: Derk-Jan Hartman <hartman at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=10f8819e0842cf324d5386329433e73371198065
---
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 825e1d6..bcf2f3d 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1745,8 +1745,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