diff options
author | nork <nork@FreeBSD.org> | 2002-12-14 12:07:55 +0000 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2002-12-14 12:07:55 +0000 |
commit | 40559fa415d4e59d36766b3e40a8cf8f86eff11e (patch) | |
tree | 4550d7c22f6a22f59f26876b47fbb3cba8ccb688 /multimedia | |
parent | 50d54e0b1bdc184de10fd37d05ae5862dd87d5d9 (diff) | |
download | FreeBSD-ports-40559fa415d4e59d36766b3e40a8cf8f86eff11e.zip FreeBSD-ports-40559fa415d4e59d36766b3e40a8cf8f86eff11e.tar.gz |
Fix compile error by changing to a new method(blockMyself -> doEventLoop)
of liveMedia. This is temporary fix, new (current) mplayer already was
fixed.
Submitted by: Petr Holub <hopet@ics.muni.cz>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mplayer/files/patch-libmpdemux::demux_rtp.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/mplayer/files/patch-libmpdemux::demux_rtp.cpp b/multimedia/mplayer/files/patch-libmpdemux::demux_rtp.cpp new file mode 100644 index 0000000..0d22a56 --- /dev/null +++ b/multimedia/mplayer/files/patch-libmpdemux::demux_rtp.cpp @@ -0,0 +1,14 @@ +--- libmpdemux/demux_rtp.cpp.orig Thu Oct 17 00:15:43 2002 ++++ libmpdemux/demux_rtp.cpp Sat Dec 14 19:17:10 2002 +@@ -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 |