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
f5a0b79a
Commit
f5a0b79a
authored
Apr 24, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Freetype: fix warnings
parent
7144c1d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/text_renderer/freetype.c
modules/text_renderer/freetype.c
+4
-4
No files found.
modules/text_renderer/freetype.c
View file @
f5a0b79a
...
...
@@ -3061,21 +3061,21 @@ static int OptionCallback( vlc_object_t *p_this, char const *psz_var,
vlc_mutex_lock
(
&
p_sys
->
lock
);
if
(
!
strcmp
(
psz_var
,
"freetype-rel-fontsize"
)
)
msg_Dbg
(
p_this
,
"changed relative font size to %
lli"
,
newval
.
i_int
);
msg_Dbg
(
p_this
,
"changed relative font size to %
"
PRId64
,
newval
.
i_int
);
else
if
(
!
strcmp
(
psz_var
,
"freetype-color"
)
)
{
p_sys
->
i_font_color
=
newval
.
i_int
;
p_sys
->
i_font_color
=
VLC_CLIP
(
p_sys
->
i_font_color
,
0
,
0xFFFFFF
);
}
else
if
(
!
strcmp
(
psz_var
,
"freetype-background-opacity"
)
)
{
p_sys
->
i_background_opacity
=
newval
.
i_int
;
msg_Dbg
(
p_filter
,
"changed background opacity to %
lli"
,
newval
.
i_int
);
msg_Dbg
(
p_filter
,
"changed background opacity to %
"
PRId64
,
newval
.
i_int
);
}
else
if
(
!
strcmp
(
psz_var
,
"freetype-outline-thickness"
)
)
{
p_sys
->
f_outline_thickness
=
newval
.
i_int
/
100
.;
p_sys
->
f_outline_thickness
=
VLC_CLIP
(
p_sys
->
f_outline_thickness
,
0
.
0
,
0
.
5
);
msg_Dbg
(
p_filter
,
"changed outline thickness to %
lli"
,
newval
.
i_int
);
msg_Dbg
(
p_filter
,
"changed outline thickness to %
"
PRId64
,
newval
.
i_int
);
}
else
if
(
!
strcmp
(
psz_var
,
"freetype-background-color"
)
)
{
p_sys
->
i_background_color
=
newval
.
i_int
;
p_sys
->
i_background_color
=
VLC_CLIP
(
p_sys
->
i_background_color
,
0
,
0xFFFFFF
);
msg_Dbg
(
p_filter
,
"changed background color to %
lli"
,
newval
.
i_int
);
msg_Dbg
(
p_filter
,
"changed background color to %
"
PRId64
,
newval
.
i_int
);
}
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