mirror of https://github.com/mpv-player/mpv
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> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8384 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a17196e406
commit
504e9aa82a
|
@ -314,7 +314,11 @@ extern "C" int demux_rtp_fill_buffer(demuxer_t* demuxer, demux_stream_t* ds) {
|
|||
// 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
|
||||
|
|
Loading…
Reference in New Issue