[vlc-commits] audiobargraph_v: do not use Command variables
Rafaël Carré
git at videolan.org
Wed Apr 16 23:00:34 CEST 2014
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Apr 16 22:58:25 2014 +0200| [3afd9951d89d6ddc9b72e937c10f1bebe948c198] | committer: Rafaël Carré
audiobargraph_v: do not use Command variables
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3afd9951d89d6ddc9b72e937c10f1bebe948c198
---
modules/video_filter/audiobargraph_v.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/modules/video_filter/audiobargraph_v.c b/modules/video_filter/audiobargraph_v.c
index 1ea8e32..30451bc 100644
--- a/modules/video_filter/audiobargraph_v.c
+++ b/modules/video_filter/audiobargraph_v.c
@@ -524,19 +524,19 @@ static int OpenCommon(vlc_object_t *p_this, bool b_sub)
p_filter->p_cfg);
/* create and initialize variables */
- p_sys->i_pos = var_CreateGetIntegerCommand(p_filter, "audiobargraph_v-position");
- p_sys->i_pos_x = var_CreateGetIntegerCommand(p_filter, "audiobargraph_v-x");
- p_sys->i_pos_y = var_CreateGetIntegerCommand(p_filter, "audiobargraph_v-y");
+ p_sys->i_pos = var_CreateGetInteger(p_filter, "audiobargraph_v-position");
+ p_sys->i_pos_x = var_CreateGetInteger(p_filter, "audiobargraph_v-x");
+ p_sys->i_pos_y = var_CreateGetInteger(p_filter, "audiobargraph_v-y");
BarGraph_t *p_BarGraph = &p_sys->p_BarGraph;
p_BarGraph->p_pic = NULL;
- p_BarGraph->i_alpha = var_CreateGetIntegerCommand(p_filter,
+ p_BarGraph->i_alpha = var_CreateGetInteger(p_filter,
"audiobargraph_v-transparency");
p_BarGraph->i_alpha = VLC_CLIP(p_BarGraph->i_alpha, 0, 255);
p_BarGraph->i_values = NULL;
parse_i_values(p_BarGraph, &(char){ 0 });
p_BarGraph->alarm = false;
- p_BarGraph->barWidth = var_CreateGetIntegerCommand(p_filter, "audiobargraph_v-barWidth");
+ p_BarGraph->barWidth = var_CreateGetInteger(p_filter, "audiobargraph_v-barWidth");
p_BarGraph->scale = 400;
/* Ignore aligment if a position is given for video filter */
More information about the vlc-commits
mailing list