Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
74a2f792
Commit
74a2f792
authored
Sep 15, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: We need the PL_LOCK here (May fix a race we have on startup).
parent
d761cf6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+3
-1
No files found.
modules/gui/macosx/playlist.m
View file @
74a2f792
...
@@ -171,6 +171,7 @@
...
@@ -171,6 +171,7 @@
NSValue
*
o_value
;
NSValue
*
o_value
;
playlist_t
*
p_playlist
=
pl_Yield
(
VLCIntf
);
playlist_t
*
p_playlist
=
pl_Yield
(
VLCIntf
);
PL_LOCK
;
if
(
item
==
nil
)
if
(
item
==
nil
)
{
{
/* root object */
/* root object */
...
@@ -182,7 +183,8 @@
...
@@ -182,7 +183,8 @@
}
}
if
(
p_item
&&
index
<
p_item
->
i_children
&&
index
>=
0
)
if
(
p_item
&&
index
<
p_item
->
i_children
&&
index
>=
0
)
p_return
=
p_item
->
pp_children
[
index
];
p_return
=
p_item
->
pp_children
[
index
];
PL_UNLOCK
;
vlc_object_release
(
p_playlist
);
vlc_object_release
(
p_playlist
);
o_value
=
[
o_outline_dict
objectForKey
:[
NSString
stringWithFormat
:
@"%p"
,
p_return
]];
o_value
=
[
o_outline_dict
objectForKey
:[
NSString
stringWithFormat
:
@"%p"
,
p_return
]];
...
...
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