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
f2ca5228
Commit
f2ca5228
authored
Oct 31, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartztext: Fixup.
parent
c3e49077
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
modules/misc/quartztext.c
modules/misc/quartztext.c
+7
-5
No files found.
modules/misc/quartztext.c
View file @
f2ca5228
...
...
@@ -37,10 +37,12 @@
#include <vlc_input.h>
#include <Availability.h>
#ifdef TARGET_OS_IPHONE
#include <CoreText/CoreText.h>
#include <CoreGraphics/CoreGraphics.h>
#
if !TARGET_OS_IPHONE
#
else
// Fix ourselves ColorSync headers that gets included in ApplicationServices.
#define DisposeCMProfileIterateUPP(a) DisposeCMProfileIterateUPP(CMProfileIterateUPP userUPP __attribute__((unused)))
#define DisposeCMMIterateUPP(a) DisposeCMMIterateUPP(CMProfileIterateUPP userUPP __attribute__((unused)))
...
...
@@ -171,7 +173,7 @@ struct filter_sys_t
int
i_font_color
;
int
i_font_size
;
#if
!
TARGET_OS_IPHONE
#if
ndef
TARGET_OS_IPHONE
ATSFontContainerRef
*
p_fonts
;
int
i_fonts
;
#endif
...
...
@@ -199,7 +201,7 @@ static int Create( vlc_object_t *p_this )
p_filter
->
pf_render_text
=
RenderText
;
p_filter
->
pf_render_html
=
RenderHtml
;
#if
!
TARGET_OS_IPHONE
#if
ndef
TARGET_OS_IPHONE
p_sys
->
p_fonts
=
NULL
;
p_sys
->
i_fonts
=
0
;
#endif
...
...
@@ -218,7 +220,7 @@ static void Destroy( vlc_object_t *p_this )
{
filter_t
*
p_filter
=
(
filter_t
*
)
p_this
;
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
#if
!
TARGET_OS_IPHONE
#if
ndef
TARGET_OS_IPHONE
if
(
p_sys
->
p_fonts
)
{
int
k
;
...
...
@@ -241,7 +243,7 @@ static void Destroy( vlc_object_t *p_this )
//////////////////////////////////////////////////////////////////////////////
static
int
LoadFontsFromAttachments
(
filter_t
*
p_filter
)
{
#if TARGET_OS_IPHONE
#if
def
TARGET_OS_IPHONE
VLC_UNUSED
(
p_filter
);
return
VLC_SUCCESS
;
#else
...
...
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