changeset 8383:099205debc97

From live.com 2002.11.30: Renamed "TaskScheduler::blockMyself()" to "doEventLoop()", to better describe what this member function actually does. Patch from Andreas Hess <jaska@gmx.net>
author bertrand
date Fri, 06 Dec 2002 09:41:13 +0000
parents 132dc73eff93
children 7a7980b874f5
files libmpdemux/demux_rtp.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_rtp.cpp	Fri Dec 06 01:59:31 2002 +0000
+++ b/libmpdemux/demux_rtp.cpp	Fri Dec 06 09:41:13 2002 +0000
@@ -314,7 +314,11 @@
     // block myself until one comes available:
     TaskScheduler& scheduler
       = bufferQueue->readSource()->envir().taskScheduler();
+#if USAGEENVIRONMENT_LIBRARY_VERSION_INT >= 1038614400
+    scheduler.doEventLoop(&bufferQueue->blockingFlag);
+#else
     scheduler.blockMyself(&bufferQueue->blockingFlag);
+#endif
   }
 
   if (demuxer->stream->eof) return 0; // source stream has closed down