aboutsummaryrefslogtreecommitdiffstats
path: root/VideoPreview/src
diff options
context:
space:
mode:
authorbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-09 16:44:10 +0000
committerbrunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-06-09 16:44:10 +0000
commitf0d4a99b65e3124a690763fc9875e73ae2226b2a (patch)
tree828d37c4261af9c7f4356ff2c715407da4c16f9f /VideoPreview/src
parent1b816ea00f6a748710761bf0145aab84416bf14e (diff)
downloadusdx-f0d4a99b65e3124a690763fc9875e73ae2226b2a.tar.gz
usdx-f0d4a99b65e3124a690763fc9875e73ae2226b2a.tar.xz
usdx-f0d4a99b65e3124a690763fc9875e73ae2226b2a.zip
- close video on hide
- added start/stop video to ChangeMusic git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2469 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--VideoPreview/src/screens/UScreenSong.pas3
1 files changed, 3 insertions, 0 deletions
diff --git a/VideoPreview/src/screens/UScreenSong.pas b/VideoPreview/src/screens/UScreenSong.pas
index 1171eaa9..764a0d47 100644
--- a/VideoPreview/src/screens/UScreenSong.pas
+++ b/VideoPreview/src/screens/UScreenSong.pas
@@ -1574,6 +1574,7 @@ begin
// stop preview
StopMusicPreview();
+ StopVideoPreview();
end;
procedure TScreenSong.DrawExtensions;
@@ -1887,8 +1888,10 @@ end;
procedure TScreenSong.ChangeMusic;
begin
StopMusicPreview();
+ StopVideoPreview();
PreviewOpened := -1;
StartMusicPreview();
+ StartVideoPreview();
end;
procedure TScreenSong.SkipTo(Target: cardinal);