diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-10-30 07:34:30 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-10-30 07:34:30 +0000 |
commit | e5f7b9f18641141354f03e6a8281a347a2555927 (patch) | |
tree | 1cf682a0a2d7fd1fb6415977aadb9e72d725f48a /mediaplugin/src/base | |
parent | f8f21b447558c911bcd4bbaaf45e9d7ba52e8fe1 (diff) | |
download | usdx-e5f7b9f18641141354f03e6a8281a347a2555927.tar.gz usdx-e5f7b9f18641141354f03e6a8281a347a2555927.tar.xz usdx-e5f7b9f18641141354f03e6a8281a347a2555927.zip |
dynamic loading of video- and audio-decoder
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2695 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'mediaplugin/src/base')
-rw-r--r-- | mediaplugin/src/base/UMain.pas | 3 | ||||
-rw-r--r-- | mediaplugin/src/base/UPathUtils.pas | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/mediaplugin/src/base/UMain.pas b/mediaplugin/src/base/UMain.pas index 14a543d1..96031f89 100644 --- a/mediaplugin/src/base/UMain.pas +++ b/mediaplugin/src/base/UMain.pas @@ -93,6 +93,7 @@ uses ULuaTextGL, ULuaParty, ULuaScreenSing, + UMediaPlugin, UTime; procedure Main; @@ -183,6 +184,8 @@ begin Log.BenchmarkEnd(1); Log.LogBenchmark('Loading Ini', 1); + LoadMediaPlugins(); + // Sound Log.BenchmarkStart(1); Log.LogStatus('Initialize Sound', 'Initialization'); diff --git a/mediaplugin/src/base/UPathUtils.pas b/mediaplugin/src/base/UPathUtils.pas index 2bfcde42..beb1d64a 100644 --- a/mediaplugin/src/base/UPathUtils.pas +++ b/mediaplugin/src/base/UPathUtils.pas @@ -50,6 +50,7 @@ var CoverPaths: IInterfaceList; LanguagesPath: IPath; PluginPath: IPath; + MediaPluginPath: IPath; VisualsPath: IPath; FontPath: IPath; ResourcesPath: IPath; @@ -170,6 +171,7 @@ begin FindPath(SkinsPath, SharedPath.Append('themes'), false); FindPath(LanguagesPath, SharedPath.Append('languages'), false); FindPath(PluginPath, SharedPath.Append('plugins'), false); + FindPath(MediaPluginPath, SharedPath.Append('media'), false); FindPath(VisualsPath, SharedPath.Append('visuals'), false); FindPath(FontPath, SharedPath.Append('fonts'), false); FindPath(ResourcesPath, SharedPath.Append('resources'), false); |