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
688d48fe
Commit
688d48fe
authored
Jan 10, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: added missing pl locks
parent
96db483a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+5
-0
No files found.
modules/gui/macosx/playlist.m
View file @
688d48fe
...
...
@@ -482,6 +482,7 @@
playlist_t
*
p_playlist
=
pl_Hold
(
VLCIntf
);
PL_LOCK
;
if
(
playlist_CurrentSize
(
p_playlist
)
>=
2
)
{
[
o_status_field
setStringValue
:
[
NSString
stringWithFormat
:
...
...
@@ -495,6 +496,7 @@
else
[
o_status_field
setStringValue
:
_NS
(
"1 item"
)];
}
PL_UNLOCK
;
vlc_object_release
(
p_playlist
);
[
self
outlineViewSelectionDidChange
:
nil
];
...
...
@@ -1473,6 +1475,7 @@
id
o_value
=
[
super
outlineView
:
outlineView
child
:
index
ofItem
:
item
];
playlist_t
*
p_playlist
=
pl_Hold
(
VLCIntf
);
PL_LOCK
;
if
(
playlist_CurrentSize
(
p_playlist
)
>=
2
)
{
[
o_status_field
setStringValue
:
[
NSString
stringWithFormat
:
...
...
@@ -1490,6 +1493,8 @@
[
o_status_field
setStringValue
:
_NS
(
"1 item"
)];
}
}
PL_UNLOCK
;
vlc_object_release
(
p_playlist
);
[
o_outline_dict
setObject
:
o_value
forKey
:[
NSString
stringWithFormat
:
@"%p"
,
...
...
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