fixed bug #1435
now when an item playing in live mode is stopped manually, the next item does not start playing automatically
This commit is contained in:
parent
5352137855
commit
49bc9ee78d
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
|
|
||||||
Author : $Author: fgerlits $
|
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 $
|
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/products/gLiveSupport/src/GLiveSupport.cxx,v $
|
||||||
|
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
@ -1065,7 +1065,12 @@ GLiveSupport :: stopOutputAudio(void)
|
||||||
{
|
{
|
||||||
if (outputItemPlayingNow) {
|
if (outputItemPlayingNow) {
|
||||||
outputPlayerIsPaused = false;
|
outputPlayerIsPaused = false;
|
||||||
onStop();
|
outputItemPlayingNow.reset();
|
||||||
|
|
||||||
|
Ptr<Playable>::Ref nullPointer;
|
||||||
|
setNowPlaying(nullPointer);
|
||||||
|
|
||||||
|
outputPlayer->close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue