[vlc-devel] commit: input: remove duplicate end/error events ( Rémi Denis-Courmont )
git version control
git at videolan.org
Mon Jan 12 21:21:50 CET 2009
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Jan 12 21:36:50 2009 +0200| [ebcbfe4c91e93009b773348a36213edf49339327] | committer: Rémi Denis-Courmont
input: remove duplicate end/error events
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ebcbfe4c91e93009b773348a36213edf49339327
---
src/input/input.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index d33b682..3e726a9 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -515,15 +515,11 @@ static void *Run( vlc_object_t *p_this )
const int canc = vlc_savecancel();
if( Init( p_input ) )
- {
- input_ChangeState( p_input, p_input->b_error ? ERROR_S : END_S );
goto exit;
- }
MainLoop( p_input );
/* Clean up */
- input_ChangeState( p_input, p_input->b_error ? ERROR_S : END_S );
End( p_input );
exit:
More information about the vlc-devel
mailing list