[MPlayer-dev-eng] [PATCH] compatibility fix for latest live.com streaming media libraries
Andreas Hess
jaska at gmx.net
Thu Dec 5 10:55:21 CET 2002
Hi!
from the changelog:
2002.11.30:
Renamed "TaskScheduler::blockMyself()" to "doEventLoop()", to better
describe what this member function actually does.
Patch is attached!
Andreas
-------------- next part --------------
Index: libmpdemux/demux_rtp.cpp
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_rtp.cpp,v
retrieving revision 1.7
diff -u -r1.7 demux_rtp.cpp
--- libmpdemux/demux_rtp.cpp 16 Oct 2002 15:15:43 -0000 1.7
+++ libmpdemux/demux_rtp.cpp 5 Dec 2002 10:18:31 -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
More information about the MPlayer-dev-eng
mailing list