Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
07c3e97d
Commit
07c3e97d
authored
Jan 28, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removes unused parameter
parent
f31407eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/osd/osd.c
src/osd/osd.c
+5
-5
No files found.
src/osd/osd.c
View file @
07c3e97d
...
...
@@ -51,7 +51,7 @@ static inline osd_state_t *osd_VolumeStateChange( osd_state_t *, int );
static
int
osd_VolumeStep
(
vlc_object_t
*
,
int
,
int
);
static
vlc_bool_t
osd_isVisible
(
osd_menu_t
*
p_osd
);
static
osd_menu_t
*
osd_ParserLoad
(
vlc_object_t
*
,
const
char
*
);
static
void
osd_ParserUnload
(
vlc_object_t
*
,
osd_menu_t
*
);
static
void
osd_ParserUnload
(
osd_menu_t
*
);
static
vlc_bool_t
osd_isVisible
(
osd_menu_t
*
p_osd
)
{
...
...
@@ -83,7 +83,7 @@ static osd_menu_t *osd_ParserLoad( vlc_object_t *p_this, const char *psz_file )
if
(
!
p_menu
->
p_image
||
!
p_menu
->
psz_file
)
{
msg_Err
(
p_this
,
"unable to load images, aborting .."
);
osd_ParserUnload
(
p_
this
,
p_
menu
);
osd_ParserUnload
(
p_menu
);
return
NULL
;
}
else
...
...
@@ -100,14 +100,14 @@ static osd_menu_t *osd_ParserLoad( vlc_object_t *p_this, const char *psz_file )
psz_type
,
VLC_TRUE
);
if
(
!
p_menu
->
p_parser
)
{
osd_ParserUnload
(
p_
this
,
p_
menu
);
osd_ParserUnload
(
p_menu
);
return
NULL
;
}
}
return
p_menu
;
}
static
void
osd_ParserUnload
(
vlc_object_t
*
p_this
,
osd_menu_t
*
p_menu
)
static
void
osd_ParserUnload
(
osd_menu_t
*
p_menu
)
{
if
(
p_menu
->
p_image
)
image_HandlerDelete
(
p_menu
->
p_image
);
...
...
@@ -240,7 +240,7 @@ void __osd_MenuDelete( vlc_object_t *p_this, osd_menu_t *p_osd )
var_Destroy
(
p_osd
,
"osd-menu-visible"
);
var_Destroy
(
p_osd
,
"osd-menu-update"
);
osd_ParserUnload
(
p_
this
,
p_
osd
);
osd_ParserUnload
(
p_osd
);
p_osd
=
NULL
;
vlc_mutex_unlock
(
lockval
.
p_address
);
}
...
...
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