Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
4527fa30
Commit
4527fa30
authored
Nov 14, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup indentation.
parent
1f7592ff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
modules/misc/osd/parser.c
modules/misc/osd/parser.c
+2
-2
src/osd/osd.c
src/osd/osd.c
+4
-2
No files found.
modules/misc/osd/parser.c
View file @
4527fa30
...
@@ -54,13 +54,13 @@ vlc_module_begin();
...
@@ -54,13 +54,13 @@ vlc_module_begin();
add_submodule
();
add_submodule
();
set_description
(
_
(
"OSD configuration importer"
)
);
set_description
(
_
(
"OSD configuration importer"
)
);
add_shortcut
(
"import-osd"
);
add_shortcut
(
"import-osd"
);
set_capability
(
"osd parser"
,
0
);
set_capability
(
"osd parser"
,
0
);
set_callbacks
(
osd_parser_simpleOpen
,
osd_parser_Close
);
set_callbacks
(
osd_parser_simpleOpen
,
osd_parser_Close
);
add_submodule
();
add_submodule
();
set_description
(
_
(
"XML OSD configuration importer"
)
);
set_description
(
_
(
"XML OSD configuration importer"
)
);
add_shortcut
(
"import-osd-xml"
);
add_shortcut
(
"import-osd-xml"
);
set_capability
(
"osd parser"
,
0
);
set_capability
(
"osd parser"
,
0
);
set_callbacks
(
osd_parser_xmlOpen
,
osd_parser_Close
);
set_callbacks
(
osd_parser_xmlOpen
,
osd_parser_Close
);
vlc_module_end
();
vlc_module_end
();
...
...
src/osd/osd.c
View file @
4527fa30
...
@@ -55,7 +55,8 @@ static vlc_bool_t osd_isVisible( osd_menu_t *p_osd )
...
@@ -55,7 +55,8 @@ static vlc_bool_t osd_isVisible( osd_menu_t *p_osd )
/*****************************************************************************
/*****************************************************************************
* Wrappers for loading and unloading osd parser modules.
* Wrappers for loading and unloading osd parser modules.
*****************************************************************************/
*****************************************************************************/
static
int
osd_ParserLoad
(
vlc_object_t
*
p_this
,
const
char
*
psz_file
,
osd_menu_t
**
pp_menu
)
static
int
osd_ParserLoad
(
vlc_object_t
*
p_this
,
const
char
*
psz_file
,
osd_menu_t
**
pp_menu
)
{
{
osd_menu_t
*
p_menu
=
*
pp_menu
;
osd_menu_t
*
p_menu
=
*
pp_menu
;
...
@@ -88,7 +89,8 @@ static int osd_ParserLoad( vlc_object_t *p_this, const char *psz_file, osd_menu_
...
@@ -88,7 +89,8 @@ static int osd_ParserLoad( vlc_object_t *p_this, const char *psz_file, osd_menu_
else
else
psz_type
=
"import-osd-xml"
;
psz_type
=
"import-osd-xml"
;
p_menu
->
p_parser
=
module_Need
(
p_menu
,
"osd parser"
,
psz_type
,
VLC_TRUE
);
p_menu
->
p_parser
=
module_Need
(
p_menu
,
"osd parser"
,
psz_type
,
VLC_TRUE
);
if
(
!
p_menu
->
p_parser
)
if
(
!
p_menu
->
p_parser
)
{
{
osd_ParserUnload
(
p_this
,
pp_menu
);
osd_ParserUnload
(
p_this
,
pp_menu
);
...
...
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