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
d30ebaf7
Commit
d30ebaf7
authored
Jun 25, 2011
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No functionnal changes (freetype).
parent
098e1f6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
modules/misc/text_renderer/freetype.c
modules/misc/text_renderer/freetype.c
+1
-4
No files found.
modules/misc/text_renderer/freetype.c
View file @
d30ebaf7
...
...
@@ -836,9 +836,6 @@ static int RenderYUVA( filter_t *p_filter, subpicture_region_t *p_region,
video_format_t
fmt
;
int
i
,
y
,
i_pitch
,
i_alpha
;
if
(
i_width
==
0
||
i_height
==
0
)
return
VLC_SUCCESS
;
/* Create a new subpicture region */
memset
(
&
fmt
,
0
,
sizeof
(
video_format_t
)
);
fmt
.
i_chroma
=
VLC_CODEC_YUVA
;
...
...
@@ -2233,7 +2230,7 @@ static int RenderCommon( filter_t *p_filter, subpicture_region_t *p_region_out,
/* Don't attempt to render text that couldn't be layed out
* properly. */
if
(
!
rv
&&
i_text_length
>
0
)
if
(
!
rv
&&
i_text_length
>
0
&&
result
.
x
>
0
&&
result
.
y
>
0
)
{
if
(
var_InheritBool
(
p_filter
,
"freetype-yuvp"
)
)
RenderYUVP
(
p_filter
,
p_region_out
,
p_lines
,
...
...
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