diff options
author | phintuka <phintuka> | 2007-03-08 13:57:48 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-03-08 13:57:48 +0000 |
commit | f53397766768333d79eedde2ddbc5a6a8525b044 (patch) | |
tree | fe732d82d96064b840c4114cc72c313f373cca1c | |
parent | da6904ad6f76f519f4fd95ff9a344e10a4ff14ca (diff) | |
download | xineliboutput-f53397766768333d79eedde2ddbc5a6a8525b044.tar.gz xineliboutput-f53397766768333d79eedde2ddbc5a6a8525b044.tar.bz2 |
Removed pthread_yield() as there is already cCondWait::SleepMs()
-rw-r--r-- | frontend_local.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/frontend_local.c b/frontend_local.c index 6bbf4bc3..74769f59 100644 --- a/frontend_local.c +++ b/frontend_local.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend_local.c,v 1.20 2007-03-04 19:48:08 phintuka Exp $ + * $Id: frontend_local.c,v 1.21 2007-03-08 13:57:48 phintuka Exp $ * */ @@ -191,10 +191,8 @@ void cXinelibLocal::ConfigureDecoder(int pes_buffers, int priority) fe->fe_interrupt(fe); } - while(!m_bReady && !GetStopSignal()) { + while(!m_bReady && !GetStopSignal()) cCondWait::SleepMs(100); - pthread_yield(); - } cCondWait::SleepMs(100); } |