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
45fee8ed
Commit
45fee8ed
authored
Jul 08, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Yet an other locking typo.
parent
adec5472
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+5
-1
No files found.
modules/gui/macosx/playlist.m
View file @
45fee8ed
...
...
@@ -970,6 +970,7 @@
int
i_item
;
playlist_t
*
p_playlist
=
pl_Yield
(
VLCIntf
);
PL_LOCK
;
for
(
i_item
=
0
;
i_item
<
(
int
)[
o_array
count
];
i_item
++
)
{
input_item_t
*
p_input
;
...
...
@@ -985,9 +986,10 @@
/* Add the item */
/* FIXME: playlist_AddInput() can fail */
playlist_AddInput
(
p_playlist
,
p_input
,
PLAYLIST_INSERT
,
i_position
==
-
1
?
PLAYLIST_END
:
i_position
+
i_item
,
true
,
fals
e
);
tru
e
);
if
(
i_item
==
0
&&
!
b_enqueue
)
{
...
...
@@ -997,6 +999,8 @@
}
vlc_gc_decref
(
p_input
);
}
PL_UNLOCK
;
[
self
playlistUpdated
];
vlc_object_release
(
p_playlist
);
}
...
...
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