Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
53e01409
Commit
53e01409
authored
Apr 27, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Libass: put the dialog, where we actually need it.
parent
99388401
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
modules/codec/libass.c
modules/codec/libass.c
+5
-10
No files found.
modules/codec/libass.c
View file @
53e01409
...
...
@@ -698,15 +698,6 @@ static ass_handle_t *AssHandleHold( decoder_t *p_dec )
}
free
(
pp_attachments
);
#if defined(WIN32)
dialog_progress_bar_t
*
p_dialog
=
dialog_ProgressCreate
(
p_dec
,
_
(
"Building font cache"
),
_
(
"Please wait while your font cache is rebuilt.
\n
"
"This should take less than a minute."
),
NULL
);
if
(
p_dialog
)
dialog_ProgressSet
(
p_dialog
,
NULL
,
0
.
1
);
#endif
ass_set_extract_fonts
(
p_library
,
true
);
ass_set_style_overrides
(
p_library
,
NULL
);
...
...
@@ -726,7 +717,11 @@ static ass_handle_t *AssHandleHold( decoder_t *p_dec )
const
char
*
psz_family
=
"Arial"
;
/* Use Arial if we can't find anything more suitable */
#ifdef HAVE_FONTCONFIG
#ifdef WIN32
#if defined(WIN32)
dialog_progress_bar_t
*
p_dialog
=
dialog_ProgressCreate
(
p_dec
,
_
(
"Building font cache"
),
_
(
"Please wait while your font cache is rebuilt.
\n
"
"This should take less than a minute."
),
NULL
);
if
(
p_dialog
)
dialog_ProgressSet
(
p_dialog
,
NULL
,
0
.
2
);
#endif
...
...
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