aboutsummaryrefslogtreecommitdiffstats
path: root/VideoPreview/src/screens
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-09 17:24:23 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-09 17:24:23 +0000
commite05f22457540a57341d50f713fb9ef1ea44b8efe (patch)
tree3f56e272c05078a7fff5d6c0b9b3866237daab6c /VideoPreview/src/screens
parentf0d4a99b65e3124a690763fc9875e73ae2226b2a (diff)
downloadusdx-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.pas2
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;