close video in preview if the music is finished (by Darkice)

This commit is contained in:
Alexander Eckart committed 2012-03-12 19:40:37 +01:00
1 parent 19276c7a32
commit fd12b25d1e
1 file changed
+1 -1
+1 -1
View File
@@ -394,7 +394,7 @@ namespace Vocaluxe.Menu.SongMenu
if (_streams.Count > 0 && _video != -1)
{
if (CVideo.VdFinished(_video))
if (CVideo.VdFinished(_video) || CSound.IsFinished(_actsongstream))
{
CVideo.VdClose(_video);
_video = -1;