Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
bc73c16c
Commit
bc73c16c
authored
Mar 06, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Factor and fix locking
parent
f18966f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
src/control/playlist.c
src/control/playlist.c
+5
-11
No files found.
src/control/playlist.c
View file @
bc73c16c
...
@@ -81,21 +81,15 @@ void libvlc_playlist_play( libvlc_instance_t *p_instance, int i_id,
...
@@ -81,21 +81,15 @@ void libvlc_playlist_play( libvlc_instance_t *p_instance, int i_id,
p_item
=
playlist_ItemGetByInputId
(
PL
,
i_id
,
p_item
=
playlist_ItemGetByInputId
(
PL
,
i_id
,
PL
->
p_root_category
);
PL
->
p_root_category
);
if
(
!
p_item
)
if
(
p_item
)
{
playlist_Control
(
PL
,
PLAYLIST_VIEWPLAY
,
pl_Locked
,
if
(
did_lock
==
1
)
PL
->
p_root_category
,
p_item
);
{
else
playlist_Unlock
(
PL
);
playlist_mark_locked
(
p_instance
,
0
);
}
RAISEVOID
(
"Unable to find item"
);
RAISEVOID
(
"Unable to find item"
);
}
playlist_Control
(
PL
,
PLAYLIST_VIEWPLAY
,
pl_Locked
,
PL
->
p_root_category
,
p_item
);
if
(
did_lock
==
1
)
if
(
did_lock
==
1
)
{
{
playlist_
L
ock
(
PL
);
playlist_
Unl
ock
(
PL
);
playlist_mark_locked
(
p_instance
,
0
);
playlist_mark_locked
(
p_instance
,
0
);
}
}
}
}
...
...
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