Hi David, change now merged. Cheers, Robert.
On Mon, Jul 26, 2010 at 5:28 PM, David Fries <[email protected]> wrote: > Prevent the audio from videos from hanging on exit if they are paused. > The video decoder already has similar logic. > > --- > src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp > b/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp > index b738a3b..f7020fb 100644 > --- a/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp > +++ b/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp > @@ -230,7 +230,7 @@ void FFmpegDecoderAudio::decodeLoop() > m_clocks.pause(true); > m_pause_timer.setStartTick(); > > - while(m_paused) > + while(m_paused && !m_exit) > { > microSleep(10000); > } > -- > 1.7.0 > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
