moved outputItemPlayingNow.reset() from stopOutputAudio() to onStop()
this fixed bug #1445
This commit is contained in:
parent
4d09eb1fa2
commit
ae6fb6216d
1 changed files with 3 additions and 3 deletions
|
@ -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<Playable>::Ref playable = masterPanel->getNextItemToPlay();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue