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
2248e867
Commit
2248e867
authored
Oct 30, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Freetype: use NULL instead of "" for empty longtext
parent
c22b7e0e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
modules/text_renderer/freetype.c
modules/text_renderer/freetype.c
+10
-10
No files found.
modules/text_renderer/freetype.c
View file @
2248e867
...
@@ -192,41 +192,41 @@ vlc_module_begin ()
...
@@ -192,41 +192,41 @@ vlc_module_begin ()
change_integer_list
(
pi_color_values
,
ppsz_color_descriptions
)
change_integer_list
(
pi_color_values
,
ppsz_color_descriptions
)
change_safe
()
change_safe
()
add_bool
(
"freetype-bold"
,
false
,
BOLD_TEXT
,
""
,
false
)
add_bool
(
"freetype-bold"
,
false
,
BOLD_TEXT
,
NULL
,
false
)
change_safe
()
change_safe
()
add_integer_with_range
(
"freetype-background-opacity"
,
0
,
0
,
255
,
add_integer_with_range
(
"freetype-background-opacity"
,
0
,
0
,
255
,
BG_OPACITY_TEXT
,
""
,
false
)
BG_OPACITY_TEXT
,
NULL
,
false
)
change_safe
()
change_safe
()
add_rgb
(
"freetype-background-color"
,
0x00000000
,
BG_COLOR_TEXT
,
add_rgb
(
"freetype-background-color"
,
0x00000000
,
BG_COLOR_TEXT
,
""
,
false
)
NULL
,
false
)
change_integer_list
(
pi_color_values
,
ppsz_color_descriptions
)
change_integer_list
(
pi_color_values
,
ppsz_color_descriptions
)
change_safe
()
change_safe
()
add_integer_with_range
(
"freetype-outline-opacity"
,
255
,
0
,
255
,
add_integer_with_range
(
"freetype-outline-opacity"
,
255
,
0
,
255
,
OUTLINE_OPACITY_TEXT
,
""
,
false
)
OUTLINE_OPACITY_TEXT
,
NULL
,
false
)
change_safe
()
change_safe
()
add_rgb
(
"freetype-outline-color"
,
0x00000000
,
OUTLINE_COLOR_TEXT
,
add_rgb
(
"freetype-outline-color"
,
0x00000000
,
OUTLINE_COLOR_TEXT
,
""
,
false
)
NULL
,
false
)
change_integer_list
(
pi_color_values
,
ppsz_color_descriptions
)
change_integer_list
(
pi_color_values
,
ppsz_color_descriptions
)
change_safe
()
change_safe
()
add_integer_with_range
(
"freetype-outline-thickness"
,
4
,
0
,
50
,
OUTLINE_THICKNESS_TEXT
,
add_integer_with_range
(
"freetype-outline-thickness"
,
4
,
0
,
50
,
OUTLINE_THICKNESS_TEXT
,
""
,
false
)
NULL
,
false
)
change_integer_list
(
pi_outline_thickness
,
ppsz_outline_thickness
)
change_integer_list
(
pi_outline_thickness
,
ppsz_outline_thickness
)
change_safe
()
change_safe
()
add_integer_with_range
(
"freetype-shadow-opacity"
,
128
,
0
,
255
,
add_integer_with_range
(
"freetype-shadow-opacity"
,
128
,
0
,
255
,
SHADOW_OPACITY_TEXT
,
""
,
false
)
SHADOW_OPACITY_TEXT
,
NULL
,
false
)
change_safe
()
change_safe
()
add_rgb
(
"freetype-shadow-color"
,
0x00000000
,
SHADOW_COLOR_TEXT
,
add_rgb
(
"freetype-shadow-color"
,
0x00000000
,
SHADOW_COLOR_TEXT
,
""
,
false
)
NULL
,
false
)
change_integer_list
(
pi_color_values
,
ppsz_color_descriptions
)
change_integer_list
(
pi_color_values
,
ppsz_color_descriptions
)
change_safe
()
change_safe
()
add_float_with_range
(
"freetype-shadow-angle"
,
-
45
,
-
360
,
360
,
add_float_with_range
(
"freetype-shadow-angle"
,
-
45
,
-
360
,
360
,
SHADOW_ANGLE_TEXT
,
""
,
false
)
SHADOW_ANGLE_TEXT
,
NULL
,
false
)
change_safe
()
change_safe
()
add_float_with_range
(
"freetype-shadow-distance"
,
0
.
06
,
0
.
0
,
1
.
0
,
add_float_with_range
(
"freetype-shadow-distance"
,
0
.
06
,
0
.
0
,
1
.
0
,
SHADOW_DISTANCE_TEXT
,
""
,
false
)
SHADOW_DISTANCE_TEXT
,
NULL
,
false
)
change_safe
()
change_safe
()
add_obsolete_integer
(
"freetype-effect"
);
add_obsolete_integer
(
"freetype-effect"
);
...
...
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