now when an item playing in live mode is stopped manually, the next item
does not start playing automatically
This commit is contained in:
fgerlits 2005-09-06 14:34:13 +00:00
parent 5352137855
commit 49bc9ee78d
1 changed files with 7 additions and 2 deletions

View File

@ -22,7 +22,7 @@
Author : $Author: fgerlits $
Version : $Revision: 1.76 $
Version : $Revision: 1.77 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/GLiveSupport.cxx,v $
------------------------------------------------------------------------------*/
@ -1065,7 +1065,12 @@ GLiveSupport :: stopOutputAudio(void)
{
if (outputItemPlayingNow) {
outputPlayerIsPaused = false;
onStop();
outputItemPlayingNow.reset();
Ptr<Playable>::Ref nullPointer;
setNowPlaying(nullPointer);
outputPlayer->close();
}
}