From ae6fb6216d88b676605f1cfa26e754b426e33a8f Mon Sep 17 00:00:00 2001 From: fgerlits Date: Mon, 5 Sep 2005 10:01:43 +0000 Subject: [PATCH] moved outputItemPlayingNow.reset() from stopOutputAudio() to onStop() this fixed bug #1445 --- livesupport/products/gLiveSupport/src/GLiveSupport.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/livesupport/products/gLiveSupport/src/GLiveSupport.cxx b/livesupport/products/gLiveSupport/src/GLiveSupport.cxx index f433de722..288c1975f 100644 --- a/livesupport/products/gLiveSupport/src/GLiveSupport.cxx +++ b/livesupport/products/gLiveSupport/src/GLiveSupport.cxx @@ -21,8 +21,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Author : $Author: maroy $ - Version : $Revision: 1.73 $ + Author : $Author: fgerlits $ + Version : $Revision: 1.74 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/GLiveSupport.cxx,v $ ------------------------------------------------------------------------------*/ @@ -1045,7 +1045,6 @@ GLiveSupport :: stopOutputAudio(void) if (outputItemPlayingNow) { outputPlayerIsPaused = false; onStop(); - outputItemPlayingNow.reset(); } } @@ -1057,6 +1056,7 @@ void LiveSupport :: GLiveSupport :: GLiveSupport :: onStop(void) throw () { + outputItemPlayingNow.reset(); outputPlayer->close(); Ptr::Ref playable = masterPanel->getNextItemToPlay();