diff options
author | phintuka <phintuka> | 2009-10-31 19:33:38 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2009-10-31 19:33:38 +0000 |
commit | 171cc587c824a5863dda59b99b284f968c2fc434 (patch) | |
tree | 87b2d35cb7aba3d5d0a323aa9ea0bbaf053f3631 | |
parent | 790bed53337d3b1a9031792a9cb2325e4ab2b289 (diff) | |
download | xineliboutput-171cc587c824a5863dda59b99b284f968c2fc434.tar.gz xineliboutput-171cc587c824a5863dda59b99b284f968c2fc434.tar.bz2 |
Fixed sxfe_run() return value when there are no pending X messages
(Thanks to Marco Skambraks)
-rw-r--r-- | xine_sxfe_frontend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c index 10e63870..ff8bf1bb 100644 --- a/xine_sxfe_frontend.c +++ b/xine_sxfe_frontend.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_sxfe_frontend.c,v 1.114 2009-08-19 16:58:58 phintuka Exp $ + * $Id: xine_sxfe_frontend.c,v 1.115 2009-10-31 19:33:38 phintuka Exp $ * */ @@ -1593,7 +1593,7 @@ static int sxfe_run(frontend_t *this_gen) .events = POLLIN, }; if (poll(&pfd, 1, 50) < 1 || !(pfd.revents & POLLIN)) { - return 1; + return !this->x.fe.xine_is_finished((frontend_t*)this, 0); } } |