Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
3afd9951
Commit
3afd9951
authored
Apr 16, 2014
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audiobargraph_v: do not use Command variables
parent
6d1e90ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/video_filter/audiobargraph_v.c
modules/video_filter/audiobargraph_v.c
+5
-5
No files found.
modules/video_filter/audiobargraph_v.c
View file @
3afd9951
...
@@ -524,19 +524,19 @@ static int OpenCommon(vlc_object_t *p_this, bool b_sub)
...
@@ -524,19 +524,19 @@ static int OpenCommon(vlc_object_t *p_this, bool b_sub)
p_filter
->
p_cfg
);
p_filter
->
p_cfg
);
/* create and initialize variables */
/* create and initialize variables */
p_sys
->
i_pos
=
var_CreateGetInteger
Command
(
p_filter
,
"audiobargraph_v-position"
);
p_sys
->
i_pos
=
var_CreateGetInteger
(
p_filter
,
"audiobargraph_v-position"
);
p_sys
->
i_pos_x
=
var_CreateGetInteger
Command
(
p_filter
,
"audiobargraph_v-x"
);
p_sys
->
i_pos_x
=
var_CreateGetInteger
(
p_filter
,
"audiobargraph_v-x"
);
p_sys
->
i_pos_y
=
var_CreateGetInteger
Command
(
p_filter
,
"audiobargraph_v-y"
);
p_sys
->
i_pos_y
=
var_CreateGetInteger
(
p_filter
,
"audiobargraph_v-y"
);
BarGraph_t
*
p_BarGraph
=
&
p_sys
->
p_BarGraph
;
BarGraph_t
*
p_BarGraph
=
&
p_sys
->
p_BarGraph
;
p_BarGraph
->
p_pic
=
NULL
;
p_BarGraph
->
p_pic
=
NULL
;
p_BarGraph
->
i_alpha
=
var_CreateGetInteger
Command
(
p_filter
,
p_BarGraph
->
i_alpha
=
var_CreateGetInteger
(
p_filter
,
"audiobargraph_v-transparency"
);
"audiobargraph_v-transparency"
);
p_BarGraph
->
i_alpha
=
VLC_CLIP
(
p_BarGraph
->
i_alpha
,
0
,
255
);
p_BarGraph
->
i_alpha
=
VLC_CLIP
(
p_BarGraph
->
i_alpha
,
0
,
255
);
p_BarGraph
->
i_values
=
NULL
;
p_BarGraph
->
i_values
=
NULL
;
parse_i_values
(
p_BarGraph
,
&
(
char
){
0
});
parse_i_values
(
p_BarGraph
,
&
(
char
){
0
});
p_BarGraph
->
alarm
=
false
;
p_BarGraph
->
alarm
=
false
;
p_BarGraph
->
barWidth
=
var_CreateGetInteger
Command
(
p_filter
,
"audiobargraph_v-barWidth"
);
p_BarGraph
->
barWidth
=
var_CreateGetInteger
(
p_filter
,
"audiobargraph_v-barWidth"
);
p_BarGraph
->
scale
=
400
;
p_BarGraph
->
scale
=
400
;
/* Ignore aligment if a position is given for video filter */
/* Ignore aligment if a position is given for video filter */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment