diff options
author | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-06-09 17:24:23 +0000 |
---|---|---|
committer | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-06-09 17:24:23 +0000 |
commit | e05f22457540a57341d50f713fb9ef1ea44b8efe (patch) | |
tree | 3f56e272c05078a7fff5d6c0b9b3866237daab6c /VideoPreview/src/screens | |
parent | f0d4a99b65e3124a690763fc9875e73ae2226b2a (diff) | |
download | usdx-e05f22457540a57341d50f713fb9ef1ea44b8efe.tar.gz usdx-e05f22457540a57341d50f713fb9ef1ea44b8efe.tar.xz usdx-e05f22457540a57341d50f713fb9ef1ea44b8efe.zip |
- option disable video in singscreen with VideoEnabled=off
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2470 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'VideoPreview/src/screens')
-rw-r--r-- | VideoPreview/src/screens/UScreenSing.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/VideoPreview/src/screens/UScreenSing.pas b/VideoPreview/src/screens/UScreenSing.pas index dc43881a..cc913181 100644 --- a/VideoPreview/src/screens/UScreenSing.pas +++ b/VideoPreview/src/screens/UScreenSing.pas @@ -498,7 +498,7 @@ begin *} fShowVisualization := false; VideoFile := CurrentSong.Path.Append(CurrentSong.Video); - if (CurrentSong.Video.IsSet) and VideoFile.IsFile then + if (Ini.VideoEnabled = 1) and CurrentSong.Video.IsSet() and VideoFile.IsFile then begin fVideoClip := VideoPlayback.Open(VideoFile); fCurrentVideo := fVideoClip; |