From owner-freebsd-ports Sat Dec 14 2:24:21 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFC2437B401; Sat, 14 Dec 2002 02:24:20 -0800 (PST) Received: from nd250009.gab.xdsl.ne.jp (nd250009.gab.xdsl.ne.jp [61.202.250.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0166E43EC2; Sat, 14 Dec 2002 02:24:20 -0800 (PST) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [IPv6:2002:3dca:fa09::1]) by nd250009.gab.xdsl.ne.jp (8.12.6/8.12.6/NinthNine) with SMTP id gBEAOIGp004866; Sat, 14 Dec 2002 19:24:18 +0900 (JST) (envelope-from nork@FreeBSD.org) Message-Id: <200212141024.gBEAOIGp004866@nd250009.gab.xdsl.ne.jp> Date: Sat, 14 Dec 2002 19:24:18 +0900 From: Norikatsu Shigemura To: ports@FreeBSD.org Cc: hopet@ics.muni.cz, riggs@rrr.de, lioux@FreeBSD.org Subject: Re: FreeBSD Port: liveMedia-2002.10.22 In-Reply-To: <200212141013.gBEAD3Gp098416@nd250009.gab.xdsl.ne.jp> References: <001c01c2a2eb$81b67d70$2603fb93@kloboucek> <200212140258.gBE2w5Gp076424@nd250009.gab.xdsl.ne.jp> <200212141013.gBEAD3Gp098416@nd250009.gab.xdsl.ne.jp> X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 14 Dec 2002 19:13:03 +0900 Norikatsu Shigemura wrote: > To fix, patch following lines. Because blockMyself method was Sorry, that approch is bad. Please use following patch. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --- 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 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I'll commit this to fix compile error. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message