# HG changeset patch # User bertrand # Date 1039167673 0 # Node ID 099205debc9737625b93c56a7780122a9bd82246 # Parent 132dc73eff9337f1941e485184fc0c37753524e3 From live.com 2002.11.30: Renamed "TaskScheduler::blockMyself()" to "doEventLoop()", to better describe what this member function actually does. Patch from Andreas Hess diff -r 132dc73eff93 -r 099205debc97 libmpdemux/demux_rtp.cpp --- 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