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
b08b5f55
Commit
b08b5f55
authored
Nov 14, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup osd_ParserLoad()/osdParserUnload().
parent
39434a18
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/osd/osd.c
src/osd/osd.c
+4
-4
No files found.
src/osd/osd.c
View file @
b08b5f55
...
...
@@ -42,8 +42,8 @@ static void osd_UpdateState( osd_menu_state_t *, int, int, int, int, picture_t *
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
int
osd_ParserLoad
(
vlc_object_t
*
,
const
char
*
,
osd_menu_t
*
*
);
static
void
osd_ParserUnload
(
vlc_object_t
*
,
osd_menu_t
*
*
);
static
osd_menu_t
*
osd_ParserLoad
(
vlc_object_t
*
,
const
char
*
);
static
void
osd_ParserUnload
(
vlc_object_t
*
,
osd_menu_t
*
);
static
vlc_bool_t
osd_isVisible
(
osd_menu_t
*
p_osd
)
{
...
...
@@ -91,7 +91,7 @@ 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
p
_menu
);
osd_ParserUnload
(
p_this
,
p_menu
);
return
NULL
;
}
}
...
...
@@ -207,7 +207,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_this
,
p_osd
);
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