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
0c4e17d8
Commit
0c4e17d8
authored
Sep 22, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compilation fixes for quartztext (thanks to Derk-Jan Hartman).
parent
c8b3f40f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
17 deletions
+3
-17
modules/misc/quartztext.c
modules/misc/quartztext.c
+3
-17
No files found.
modules/misc/quartztext.c
View file @
0c4e17d8
...
...
@@ -515,8 +515,8 @@ static ATSUStyle GetStyleFromFontStack( filter_sys_t *p_sys,
static
void
SetupLine
(
filter_t
*
p_filter
,
const
char
*
psz_text_in
,
UniChar
**
psz_text_out
,
uint32_t
*
pi_runs
,
uint32_t
**
ppi_run_lengths
,
ft_style_t
*
**
ppp_styles
,
ft_style_t
*
p_style
)
uint32_t
**
ppi_run_lengths
,
ATSUStyle
**
ppp_styles
,
ATSUStyle
p_style
)
{
uint32_t
i_string_length
=
0
;
...
...
@@ -532,7 +532,7 @@ static void SetupLine( filter_t *p_filter, const char *psz_text_in,
else
*
ppp_styles
=
(
ATSUStyle
*
)
malloc
(
*
pi_runs
*
sizeof
(
ATSUStyle
)
);
(
*
ppp_styles
)[
*
pi_runs
-
1
]
=
GetStyleFromFontStack
(
p_sys
,
&
p_fonts
,
b_bold
,
b_italic
,
b_uline
)
;
(
*
ppp_styles
)[
*
pi_runs
-
1
]
=
p_style
;
if
(
*
ppi_run_lengths
)
*
ppi_run_lengths
=
(
uint32_t
*
)
realloc
(
*
ppi_run_lengths
,
*
pi_runs
*
sizeof
(
uint32_t
)
);
...
...
@@ -543,20 +543,6 @@ static void SetupLine( filter_t *p_filter, const char *psz_text_in,
}
}
static
void
SetKaraokeLen
(
uint32_t
i_runs
,
uint32_t
*
pi_run_lengths
,
uint32_t
i_k_runs
,
uint32_t
*
pi_k_run_lengths
)
{
/* TODO */
}
static
void
SetupKaraoke
(
xml_reader_t
*
p_xml_reader
,
uint32_t
*
pi_k_runs
,
uint32_t
**
ppi_k_run_lengths
,
uint32_t
**
ppi_k_durations
)
{
/* TODO */
}
static
int
RenderHtml
(
filter_t
*
p_filter
,
subpicture_region_t
*
p_region_out
,
subpicture_region_t
*
p_region_in
)
{
...
...
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