Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
031c6028
Commit
031c6028
authored
Jun 04, 2008
by
Rémi Denis-Courmont
Browse files
Playlist takes care of sout-keep, NOT libvlc!
Fixes a bunch of crashes at exit.
parent
65892ac8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libvlc.c
View file @
031c6028
...
...
@@ -943,24 +943,6 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
}
#ifdef ENABLE_SOUT
playlist_t
*
p_playlist
;
sout_instance_t
*
p_sout
;
p_playlist
=
vlc_object_find
(
p_libvlc
,
VLC_OBJECT_PLAYLIST
,
FIND_CHILD
);
if
(
p_playlist
)
{
p_sout
=
vlc_object_find
(
p_playlist
,
VLC_OBJECT_SOUT
,
FIND_CHILD
);
if
(
p_sout
)
{
msg_Dbg
(
p_sout
,
"removing kept stream output"
);
vlc_object_detach
(
(
vlc_object_t
*
)
p_sout
);
vlc_object_release
(
(
vlc_object_t
*
)
p_sout
);
sout_DeleteInstance
(
p_sout
);
}
vlc_object_release
(
p_playlist
);
}
/* Destroy VLM if created in libvlc_InternalInit */
if
(
priv
->
p_vlm
)
{
...
...
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