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
0717f16a
Commit
0717f16a
authored
Jul 15, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plqylist: Delete current playing item, if qpplicable, inside the PL_LOCK, and at the very end.
parent
7e063c47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
src/playlist/engine.c
src/playlist/engine.c
+12
-11
No files found.
src/playlist/engine.c
View file @
0717f16a
...
...
@@ -482,6 +482,18 @@ void playlist_LastLoop( playlist_t *p_playlist )
sout_DeleteInstance
(
p_sout
);
#endif
/* Core should have terminated all SDs before the playlist */
/* TODO: It fails to do so when not playing anything -- Courmisch */
playlist_ServicesDiscoveryKillAll
(
p_playlist
);
playlist_MLDump
(
p_playlist
);
vlc_object_kill
(
p_playlist
->
p_preparse
);
vlc_thread_join
(
p_playlist
->
p_preparse
);
vlc_object_kill
(
p_playlist
->
p_fetcher
);
vlc_thread_join
(
p_playlist
->
p_fetcher
);
PL_LOCK
;
if
(
p_playlist
->
status
.
p_node
&&
p_playlist
->
status
.
p_node
->
i_flags
&
PLAYLIST_REMOVE_FLAG
)
{
...
...
@@ -499,17 +511,6 @@ void playlist_LastLoop( playlist_t *p_playlist )
p_playlist
->
status
.
p_item
=
NULL
;
}
/* Core should have terminated all SDs before the playlist */
/* TODO: It fails to do so when not playing anything -- Courmisch */
playlist_ServicesDiscoveryKillAll
(
p_playlist
);
playlist_MLDump
(
p_playlist
);
vlc_object_kill
(
p_playlist
->
p_preparse
);
vlc_thread_join
(
p_playlist
->
p_preparse
);
vlc_object_kill
(
p_playlist
->
p_fetcher
);
vlc_thread_join
(
p_playlist
->
p_fetcher
);
PL_LOCK
;
FOREACH_ARRAY
(
playlist_item_t
*
p_del
,
p_playlist
->
all_items
)
free
(
p_del
->
pp_children
);
vlc_gc_decref
(
p_del
->
p_input
);
...
...
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