Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
69b82164
Commit
69b82164
authored
Aug 24, 2007
by
Bernie Purcell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oops
parent
6ce39aaa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modules/misc/quartztext.c
modules/misc/quartztext.c
+5
-2
No files found.
modules/misc/quartztext.c
View file @
69b82164
...
@@ -556,7 +556,7 @@ static ATSUStyle GetStyleFromFontStack( filter_sys_t *p_sys, font_stack_t **p_fo
...
@@ -556,7 +556,7 @@ static ATSUStyle GetStyleFromFontStack( filter_sys_t *p_sys, font_stack_t **p_fo
return
p_style
;
return
p_style
;
}
}
static
void
ProcessNodes
(
filter_t
*
p_filter
,
xml_reader_t
*
p_xml_reader
,
static
int
ProcessNodes
(
filter_t
*
p_filter
,
xml_reader_t
*
p_xml_reader
,
text_style_t
*
p_font_style
,
UniChar
*
psz_text
,
int
*
pi_len
,
text_style_t
*
p_font_style
,
UniChar
*
psz_text
,
int
*
pi_len
,
uint32_t
*
pi_runs
,
uint32_t
**
ppi_run_lengths
,
uint32_t
*
pi_runs
,
uint32_t
**
ppi_run_lengths
,
ATSUStyle
**
ppp_styles
)
ATSUStyle
**
ppp_styles
)
...
@@ -564,6 +564,7 @@ static void ProcessNodes( filter_t *p_filter, xml_reader_t *p_xml_reader,
...
@@ -564,6 +564,7 @@ static void ProcessNodes( filter_t *p_filter, xml_reader_t *p_xml_reader,
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
UniChar
*
psz_text_orig
=
psz_text
;
UniChar
*
psz_text_orig
=
psz_text
;
font_stack_t
*
p_fonts
=
NULL
;
font_stack_t
*
p_fonts
=
NULL
;
int
rv
=
VLC_SUCCESS
;
char
*
psz_node
=
NULL
;
char
*
psz_node
=
NULL
;
...
@@ -771,6 +772,8 @@ static void ProcessNodes( filter_t *p_filter, xml_reader_t *p_xml_reader,
...
@@ -771,6 +772,8 @@ static void ProcessNodes( filter_t *p_filter, xml_reader_t *p_xml_reader,
*
pi_len
=
psz_text
-
psz_text_orig
;
*
pi_len
=
psz_text
-
psz_text_orig
;
while
(
VLC_SUCCESS
==
PopFont
(
&
p_fonts
)
);
while
(
VLC_SUCCESS
==
PopFont
(
&
p_fonts
)
);
return
rv
;
}
}
static
int
RenderHtml
(
filter_t
*
p_filter
,
subpicture_region_t
*
p_region_out
,
static
int
RenderHtml
(
filter_t
*
p_filter
,
subpicture_region_t
*
p_region_out
,
...
@@ -797,7 +800,7 @@ static int RenderHtml( filter_t *p_filter, subpicture_region_t *p_region_out,
...
@@ -797,7 +800,7 @@ static int RenderHtml( filter_t *p_filter, subpicture_region_t *p_region_out,
if
(
p_xml_reader
)
if
(
p_xml_reader
)
{
{
UniChar
*
psz_text
;
UniChar
*
psz_text
;
int
i_len
;
int
i_len
=
0
;
uint32_t
i_runs
=
0
;
uint32_t
i_runs
=
0
;
uint32_t
*
pi_run_lengths
=
NULL
;
uint32_t
*
pi_run_lengths
=
NULL
;
ATSUStyle
*
pp_styles
=
NULL
;
ATSUStyle
*
pp_styles
=
NULL
;
...
...
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