Skip videos to 0f to repeat
This commit is contained in:
1 parent
9dfa3e0f0e
commit
25da8925e0
1 file changed
+2
-2
@@ -171,7 +171,7 @@ namespace Vocaluxe.Base
|
|||||||
{
|
{
|
||||||
CSound.SetPosition(_CurrentMusicStream, 0);
|
CSound.SetPosition(_CurrentMusicStream, 0);
|
||||||
if (_VideoEnabled && _Video != -1)
|
if (_VideoEnabled && _Video != -1)
|
||||||
CVideo.VdSkip(_Video, CSound.GetPosition(_CurrentMusicStream), _CurrentPlaylistElement.GetVideoGap());
|
CVideo.VdSkip(_Video, 0f, _CurrentPlaylistElement.GetVideoGap());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -377,7 +377,7 @@ namespace Vocaluxe.Base
|
|||||||
if (_Video == -1)
|
if (_Video == -1)
|
||||||
{
|
{
|
||||||
_Video = CVideo.VdLoad(_CurrentPlaylistElement.GetVideoFilePath());
|
_Video = CVideo.VdLoad(_CurrentPlaylistElement.GetVideoFilePath());
|
||||||
CVideo.VdSkip(_Video, CSound.GetPosition(_CurrentMusicStream), _CurrentPlaylistElement.GetVideoGap());
|
CVideo.VdSkip(_Video, 0f, _CurrentPlaylistElement.GetVideoGap());
|
||||||
_VideoEnabled = true;
|
_VideoEnabled = true;
|
||||||
_FadeTimer.Reset();
|
_FadeTimer.Reset();
|
||||||
_FadeTimer.Start();
|
_FadeTimer.Start();
|
||||||
|
|||||||
Reference in new issue
Block a user