Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
cb6f956a
Commit
cb6f956a
authored
Sep 30, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freetype: use var_Inherit.
parent
37a4eca2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/misc/freetype.c
modules/misc/freetype.c
+5
-5
No files found.
modules/misc/freetype.c
View file @
cb6f956a
...
...
@@ -316,12 +316,12 @@ static int Create( vlc_object_t *p_this )
var_Create
(
p_filter
,
"freetype-rel-fontsize"
,
VLC_VAR_INTEGER
|
VLC_VAR_DOINHERIT
);
psz_fontfamily
=
var_
CreateGe
tString
(
p_filter
,
"freetype-font"
);
p_sys
->
i_default_font_size
=
var_
CreateGe
tInteger
(
p_filter
,
"freetype-fontsize"
);
p_sys
->
i_effect
=
var_
CreateGe
tInteger
(
p_filter
,
"freetype-effect"
);
p_sys
->
i_font_opacity
=
var_
CreateGe
tInteger
(
p_filter
,
"freetype-opacity"
);
psz_fontfamily
=
var_
Inheri
tString
(
p_filter
,
"freetype-font"
);
p_sys
->
i_default_font_size
=
var_
Inheri
tInteger
(
p_filter
,
"freetype-fontsize"
);
p_sys
->
i_effect
=
var_
Inheri
tInteger
(
p_filter
,
"freetype-effect"
);
p_sys
->
i_font_opacity
=
var_
Inheri
tInteger
(
p_filter
,
"freetype-opacity"
);
p_sys
->
i_font_opacity
=
__MAX
(
__MIN
(
p_sys
->
i_font_opacity
,
255
),
0
);
p_sys
->
i_font_color
=
var_
CreateGe
tInteger
(
p_filter
,
"freetype-color"
);
p_sys
->
i_font_color
=
var_
Inheri
tInteger
(
p_filter
,
"freetype-color"
);
p_sys
->
i_font_color
=
__MAX
(
__MIN
(
p_sys
->
i_font_color
,
0xFFFFFF
),
0
);
fontindex
=
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