[Opalvoip-svn] SF.net SVN: opalvoip:[22349] opal/trunk/src/rtp/jitter.cxx
Brought to you by:
csoutheren,
rjongbloed
From: <rjo...@us...> - 2009-03-31 07:06:52
|
Revision: 22349 http://opalvoip.svn.sourceforge.net/opalvoip/?rev=22349&view=rev Author: rjongbloed Date: 2009-03-31 07:06:37 +0000 (Tue, 31 Mar 2009) Log Message: ----------- Fixed missing re-lock of mutex on jitter buffer shut down, so when unlocked a little bit later it does not assert. Modified Paths: -------------- opal/trunk/src/rtp/jitter.cxx Modified: opal/trunk/src/rtp/jitter.cxx =================================================================== --- opal/trunk/src/rtp/jitter.cxx 2009-03-31 07:06:06 UTC (rev 22348) +++ opal/trunk/src/rtp/jitter.cxx 2009-03-31 07:06:37 UTC (rev 22349) @@ -291,6 +291,7 @@ do { // Keep reading from the RTP transport frames if (!OnReadPacket(*currentReadFrame, loop)) { + bufferMutex.Wait(); if (currentReadFrame != NULL) delete currentReadFrame; // Destructor won't delete this one, so do it here. shuttingDown = true; // Flag to stop the reading side thread This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |