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
bf17399f
Commit
bf17399f
authored
Jun 10, 2011
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced a var_Get() by var_GetInteger() in freetype.
parent
47a71f07
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
modules/misc/text_renderer/freetype.c
modules/misc/text_renderer/freetype.c
+4
-6
No files found.
modules/misc/text_renderer/freetype.c
View file @
bf17399f
...
@@ -332,13 +332,11 @@ static int GetFontSize( filter_t *p_filter )
...
@@ -332,13 +332,11 @@ static int GetFontSize( filter_t *p_filter )
}
}
else
else
{
{
vlc_value_t
val
;
int
i_ratio
=
var_GetInteger
(
p_filter
,
"freetype-rel-fontsize"
);
var_Get
(
p_filter
,
"freetype-rel-fontsize"
,
&
val
);
if
(
i_ratio
>
0
)
if
(
val
.
i_int
>
0
)
{
{
i_size
=
(
int
)
p_filter
->
fmt_out
.
video
.
i_height
/
val
.
i_int
;
i_size
=
(
int
)
p_filter
->
fmt_out
.
video
.
i_height
/
i_ratio
;
p_filter
->
p_sys
->
i_display_height
=
p_filter
->
p_sys
->
i_display_height
=
p_filter
->
fmt_out
.
video
.
i_height
;
p_filter
->
fmt_out
.
video
.
i_height
;
}
}
}
}
if
(
i_size
<=
0
)
if
(
i_size
<=
0
)
...
...
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