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
1dfd50c2
Commit
1dfd50c2
authored
Mar 29, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc: Wait for input end.
parent
d2265a34
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
src/libvlc-common.c
src/libvlc-common.c
+10
-0
No files found.
src/libvlc-common.c
View file @
1dfd50c2
...
...
@@ -921,6 +921,7 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
{
intf_thread_t
*
p_intf
=
NULL
;
vout_thread_t
*
p_vout
=
NULL
;
input_thread_t
*
p_input
=
NULL
;
aout_instance_t
*
p_aout
=
NULL
;
announce_handler_t
*
p_announce
=
NULL
;
...
...
@@ -939,6 +940,15 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
msg_Dbg
(
p_libvlc
,
"removing playlist"
);
playlist_ThreadDestroy
(
p_libvlc
->
p_playlist
);
/* Free input */
msg_Dbg
(
p_libvlc
,
"waiting all input end"
);
while
(
(
p_input
=
vlc_object_find
(
p_libvlc
,
VLC_OBJECT_INPUT
,
FIND_CHILD
))
)
{
vlc_object_kill
(
p_input
);
vlc_thread_join
(
p_input
);
vlc_object_release
(
p_input
);
}
/* Free video outputs */
msg_Dbg
(
p_libvlc
,
"removing all video outputs"
);
while
(
(
p_vout
=
vlc_object_find
(
p_libvlc
,
VLC_OBJECT_VOUT
,
FIND_CHILD
))
)
...
...
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