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
b516e441
Commit
b516e441
authored
Dec 15, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use const char* when needed (easier to understand if a function will try to grab a string).
parent
21f561ba
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
include/vlc_osd.h
include/vlc_osd.h
+3
-3
src/osd/osd_text.c
src/osd/osd_text.c
+2
-2
No files found.
include/vlc_osd.h
View file @
b516e441
...
@@ -590,9 +590,9 @@ static inline void osd_SetMenuUpdate( osd_menu_t *p_osd, bool b_value )
...
@@ -590,9 +590,9 @@ static inline void osd_SetMenuUpdate( osd_menu_t *p_osd, bool b_value )
* object. The types are declared in the include file include/vlc_osd.h
* object. The types are declared in the include file include/vlc_osd.h
* @see vlc_osd.h
* @see vlc_osd.h
*/
*/
VLC_EXPORT
(
int
,
osd_ShowTextRelative
,
(
spu_t
*
,
int
,
char
*
,
text_style_t
*
,
int
,
int
,
int
,
mtime_t
)
);
VLC_EXPORT
(
int
,
osd_ShowTextRelative
,
(
spu_t
*
,
int
,
c
onst
c
har
*
,
text_style_t
*
,
int
,
int
,
int
,
mtime_t
)
);
VLC_EXPORT
(
int
,
osd_ShowTextAbsolute
,
(
spu_t
*
,
int
,
char
*
,
text_style_t
*
,
int
,
int
,
int
,
mtime_t
,
mtime_t
)
);
VLC_EXPORT
(
int
,
osd_ShowTextAbsolute
,
(
spu_t
*
,
int
,
c
onst
c
har
*
,
text_style_t
*
,
int
,
int
,
int
,
mtime_t
,
mtime_t
)
);
VLC_EXPORT
(
void
,
osd_Message
,
(
spu_t
*
,
int
,
char
*
,
...
)
LIBVLC_FORMAT
(
3
,
4
)
);
VLC_EXPORT
(
void
,
osd_Message
,
(
spu_t
*
,
int
,
char
*
,
...
)
LIBVLC_FORMAT
(
3
,
4
)
);
/**
/**
* Default feedback images
* Default feedback images
...
...
src/osd/osd_text.c
View file @
b516e441
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
* \param i_duration Amount of time the text is to be shown.
* \param i_duration Amount of time the text is to be shown.
*/
*/
int
osd_ShowTextRelative
(
spu_t
*
p_spu
,
int
i_channel
,
int
osd_ShowTextRelative
(
spu_t
*
p_spu
,
int
i_channel
,
char
*
psz_string
,
text_style_t
*
p_style
,
c
onst
c
har
*
psz_string
,
text_style_t
*
p_style
,
int
i_flags
,
int
i_hmargin
,
int
i_vmargin
,
int
i_flags
,
int
i_hmargin
,
int
i_vmargin
,
mtime_t
i_duration
)
mtime_t
i_duration
)
{
{
...
@@ -68,7 +68,7 @@ int osd_ShowTextRelative( spu_t *p_spu, int i_channel,
...
@@ -68,7 +68,7 @@ int osd_ShowTextRelative( spu_t *p_spu, int i_channel,
* is about to be shown
* is about to be shown
*/
*/
int
osd_ShowTextAbsolute
(
spu_t
*
p_spu_channel
,
int
i_channel
,
int
osd_ShowTextAbsolute
(
spu_t
*
p_spu_channel
,
int
i_channel
,
char
*
psz_string
,
text_style_t
*
p_style
,
c
onst
c
har
*
psz_string
,
text_style_t
*
p_style
,
int
i_flags
,
int
i_hmargin
,
int
i_vmargin
,
int
i_flags
,
int
i_hmargin
,
int
i_vmargin
,
mtime_t
i_start
,
mtime_t
i_stop
)
mtime_t
i_start
,
mtime_t
i_stop
)
{
{
...
...
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