summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-12-21 11:50:06 +0000
committerphintuka <phintuka>2008-12-21 11:50:06 +0000
commit188423b7a4e2f3d1d5e40ee3d010a2dbc2b10375 (patch)
treea4d516072184aea97d72f6ddb0c46ed2566ddb3d
parent2573cca3bb6e4e6f9df0a273bcb16928b2d2b9fc (diff)
downloadxineliboutput-188423b7a4e2f3d1d5e40ee3d010a2dbc2b10375.tar.gz
xineliboutput-188423b7a4e2f3d1d5e40ee3d010a2dbc2b10375.tar.bz2
Simplified main loop.
This should also fix vdr-??fe exit status when terminated with X11 "Esc" key.
-rw-r--r--xine_frontend_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xine_frontend_main.c b/xine_frontend_main.c
index dcebaf4e..d033f3b9 100644
--- a/xine_frontend_main.c
+++ b/xine_frontend_main.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend_main.c,v 1.71 2008-12-19 16:01:55 rofafor Exp $
+ * $Id: xine_frontend_main.c,v 1.72 2008-12-21 11:50:06 phintuka Exp $
*
*/
@@ -770,9 +770,9 @@ int main(int argc, char *argv[])
fflush(stdout);
fflush(stderr);
- while (!last_signal && fe->fe_run(fe) &&
- (FE_XINE_RUNNING == (xine_finished = fe->xine_is_finished(fe,0))))
+ while (!last_signal && fe->fe_run(fe))
;
+ xine_finished = fe->xine_is_finished(fe,0);
fe->xine_close(fe);
firsttry = 0;