On Thu, Aug 05, 2010 at 07:46:33PM -0700, John Gilmore wrote: > This patch seems to fix this problem in gnash: > > === modified file 'libmedia/MediaParser.cpp' > --- libmedia/MediaParser.cpp 2010-01-01 17:48:26 +0000 > +++ libmedia/MediaParser.cpp 2010-08-06 02:34:19 +0000 > @@ -411,7 +411,10 @@ > while (!parserThreadKillRequested()) > { > parseNextChunk(); > - gnashSleep(100); // no rush.... > + { > + boost::mutex::scoped_lock lock(_qMutex); > + waitIfNeeded(lock); > + } > } > }
I think 'parseNextChunk' is supposed to call waitIfNeeded, but it's been a long time... Most likely doumentation (comments) are correct, so code should follow as needed. Make sure to try both ffmpeg and gst media handlers, as if I recall correctly some locking duty were given to these implementations rather than left to base class. --strk; () Free GIS & Flash consultant/developer /\ http://strk.keybit.net/services.html _______________________________________________ Gnash-dev mailing list Gnash-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-dev