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
8d5e04c0
Commit
8d5e04c0
authored
Apr 16, 2014
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
audiobargraph_v: more appropriate function name
parent
062203a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
modules/video_filter/audiobargraph_v.c
modules/video_filter/audiobargraph_v.c
+5
-8
No files found.
modules/video_filter/audiobargraph_v.c
View file @
8d5e04c0
...
...
@@ -236,12 +236,9 @@ static void DrawNumber(plane_t *p, int h, const uint8_t data[5], int l)
}
}
/*****************************************************************************
*
LoadImage
: creates and returns the bar graph image
*
Draw
: creates and returns the bar graph image
*****************************************************************************/
#ifdef LoadImage
# undef LoadImage
#endif
static
void
LoadImage
(
BarGraph_t
*
b
)
static
void
Draw
(
BarGraph_t
*
b
)
{
int
nbChannels
=
b
->
nbChannels
;
int
scale
=
b
->
scale
;
...
...
@@ -343,13 +340,13 @@ static int BarGraphCallback(vlc_object_t *p_this, char const *psz_var,
*
res
=
'\0'
;
parse_i_values
(
p_BarGraph
,
psz
);
free
(
psz
);
LoadImage
(
p_BarGraph
);
Draw
(
p_BarGraph
);
}
else
if
(
!
strcmp
(
psz_var
,
"audiobargraph_v-alarm"
))
{
p_BarGraph
->
alarm
=
newval
.
b_bool
;
LoadImage
(
p_BarGraph
);
Draw
(
p_BarGraph
);
}
else
if
(
!
strcmp
(
psz_var
,
"audiobargraph_v-barWidth"
))
{
p_BarGraph
->
barWidth
=
newval
.
i_int
;
LoadImage
(
p_BarGraph
);
Draw
(
p_BarGraph
);
}
p_sys
->
b_spu_update
=
true
;
vlc_mutex_unlock
(
&
p_sys
->
lock
);
...
...
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