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
Steve Lhomme
VLC
Commits
c75d563f
Commit
c75d563f
authored
Jun 14, 2008
by
Pierre d'Herbemont
Browse files
input: Change the state to END_S when playback is really finished.
parent
18acd8a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/input/input.c
View file @
c75d563f
...
...
@@ -533,6 +533,7 @@ static int Run( input_thread_t *p_input )
/* We have finished */
p_input
->
b_eof
=
true
;
input_ChangeState
(
p_input
,
END_S
);
playlist_Signal
(
libvlc_priv
(
p_input
->
p_libvlc
)
->
p_playlist
);
}
...
...
@@ -644,7 +645,6 @@ static void MainLoop( input_thread_t *p_input )
{
/* End of file - we do not set b_die because only the
* playlist is allowed to do so. */
input_ChangeState
(
p_input
,
END_S
);
msg_Dbg
(
p_input
,
"EOF reached"
);
p_input
->
p
->
input
.
b_eof
=
true
;
}
...
...
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