Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
33af9b68
Commit
33af9b68
authored
Nov 26, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc: do not disable the playlist earlier automatically
parent
7f1e18cd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
17 deletions
+1
-17
src/libvlc.c
src/libvlc.c
+0
-4
src/playlist/control.c
src/playlist/control.c
+0
-12
src/playlist/engine.c
src/playlist/engine.c
+1
-0
src/playlist/playlist_internal.h
src/playlist/playlist_internal.h
+0
-1
No files found.
src/libvlc.c
View file @
33af9b68
...
...
@@ -599,10 +599,6 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
libvlc_priv_t
*
priv
=
libvlc_priv
(
p_libvlc
);
playlist_t
*
p_playlist
=
libvlc_priv
(
p_libvlc
)
->
p_playlist
;
/* Deactivate the playlist */
msg_Dbg
(
p_libvlc
,
"deactivating the playlist"
);
pl_Deactivate
(
p_libvlc
);
/* Remove all services discovery */
msg_Dbg
(
p_libvlc
,
"removing all services discovery tasks"
);
playlist_ServicesDiscoveryKillAll
(
p_playlist
);
...
...
src/playlist/control.c
View file @
33af9b68
...
...
@@ -60,18 +60,6 @@ playlist_t *pl_Get (vlc_object_t *obj)
return
pl
;
}
void
pl_Deactivate
(
libvlc_int_t
*
p_libvlc
)
{
bool
deactivate
;
vlc_mutex_lock
(
&
global_lock
);
deactivate
=
libvlc_priv
(
p_libvlc
)
->
playlist_active
;
vlc_mutex_unlock
(
&
global_lock
);
if
(
deactivate
)
playlist_Deactivate
(
libvlc_priv
(
p_libvlc
)
->
p_playlist
);
}
void
playlist_Lock
(
playlist_t
*
pl
)
{
vlc_mutex_lock
(
&
pl_priv
(
pl
)
->
lock
);
...
...
src/playlist/engine.c
View file @
33af9b68
...
...
@@ -314,6 +314,7 @@ void playlist_Destroy( playlist_t *p_playlist )
msg_Dbg
(
p_playlist
,
"destroying"
);
playlist_Deactivate
(
p_playlist
);
if
(
p_sys
->
p_preparser
)
playlist_preparser_Delete
(
p_sys
->
p_preparser
);
if
(
p_sys
->
p_fetcher
)
...
...
src/playlist/playlist_internal.h
View file @
33af9b68
...
...
@@ -104,7 +104,6 @@ void playlist_Destroy( playlist_t * );
/* */
void
playlist_Activate
(
playlist_t
*
);
void
pl_Deactivate
(
libvlc_int_t
*
);
/* */
playlist_item_t
*
playlist_ItemNewFromInput
(
playlist_t
*
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