close video in preview if the music is finished (by Darkice)
This commit is contained in:
1 parent
19276c7a32
commit
fd12b25d1e
1 file changed
+1
-1
@@ -394,7 +394,7 @@ namespace Vocaluxe.Menu.SongMenu
|
|||||||
|
|
||||||
if (_streams.Count > 0 && _video != -1)
|
if (_streams.Count > 0 && _video != -1)
|
||||||
{
|
{
|
||||||
if (CVideo.VdFinished(_video))
|
if (CVideo.VdFinished(_video) || CSound.IsFinished(_actsongstream))
|
||||||
{
|
{
|
||||||
CVideo.VdClose(_video);
|
CVideo.VdClose(_video);
|
||||||
_video = -1;
|
_video = -1;
|
||||||
|
|||||||
Reference in new issue
Block a user