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
fb0a0605
Commit
fb0a0605
authored
Jul 20, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed locking scheme.
parent
c80284ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/misc/freetype.c
modules/misc/freetype.c
+4
-3
No files found.
modules/misc/freetype.c
View file @
fb0a0605
...
...
@@ -486,7 +486,6 @@ static vlc_object_t *FontBuilderAttach( filter_t *p_filter, vlc_mutex_t **pp_loc
var_TriggerCallback
(
p_fontbuilder
,
"build-done"
);
}
vlc_mutex_unlock
(
p_lock
);
*
pp_lock
=
p_lock
;
return
p_fontbuilder
;
}
...
...
@@ -2205,10 +2204,12 @@ static int BuildDone( vlc_object_t *p_this, const char *psz_var,
if
(
newval
.
b_bool
)
{
vlc_mutex_lock
(
p_sys
->
p_fontconfig_lock
);
vlc_mutex_t
*
p_lock
=
var_AcquireMutex
(
"fontbuilder"
);
p_sys
->
b_fontconfig_ok
=
true
;
p_sys
->
p_fontconfig
=
p_this
->
p_private
;
vlc_mutex_unlock
(
p_sys
->
p_fontconfig_lock
);
vlc_mutex_unlock
(
p_lock
);
}
VLC_UNUSED
(
psz_var
);
...
...
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