From 171cc587c824a5863dda59b99b284f968c2fc434 Mon Sep 17 00:00:00 2001 From: phintuka Date: Sat, 31 Oct 2009 19:33:38 +0000 Subject: Fixed sxfe_run() return value when there are no pending X messages (Thanks to Marco Skambraks) --- xine_sxfe_frontend.c | 4 ++-- 1 file 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); } } -- cgit v1.2.3