[vlc-commits] commit: projectM: use add_directory for the preset directory. ( =?UTF-8?Q?S=C3=A9bastien=20Toque=20?=)

git at videolan.org git at videolan.org
Sun Jan 9 10:50:36 CET 2011


vlc | branch: master | Sébastien Toque <xilasz at gmail.com> | Sun Jan  9 10:47:08 2011 +0100| [b4bfa0324c5ab04b957dbc258f3214c9e03612fb] | committer: Rémi Duraffort 

projectM: use add_directory for the preset directory.

Signed-off-by: Rémi Duraffort <ivoire at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b4bfa0324c5ab04b957dbc258f3214c9e03612fb
---

 modules/visualization/projectm.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/visualization/projectm.cpp b/modules/visualization/projectm.cpp
index 948c388..8ab159e 100644
--- a/modules/visualization/projectm.cpp
+++ b/modules/visualization/projectm.cpp
@@ -83,7 +83,7 @@ vlc_module_begin ()
     add_loadfile( "projectm-config", "/usr/share/projectM/config.inp",
                   CONFIG_TEXT, CONFIG_LONGTEXT, true )
 #else
-    add_loadfile( "projectm-preset-path", "/usr/share/projectM/presets",
+    add_directory( "projectm-preset-path", "/usr/share/projectM/presets",
                   PRESET_PATH_TXT, PRESET_PATH_LONGTXT, true )
     add_font( "projectm-title-font", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf",
                   TITLE_FONT_TXT, TITLE_FONT_LONGTXT, true )



More information about the vlc-commits mailing list