diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-04-02 13:53:03 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-04-02 13:53:03 +0000 |
commit | 483a88d54e11dc612d8ebf6b8f8c830650cec77e (patch) | |
tree | ec46ef660397dd20b0ac93b8413fa4fc1e638de6 /libs/ardour/export_profile_manager.cc | |
parent | 1eb753b8429b1524016c14d6a21ba070e1c56141 (diff) |
add the standard mechanism for search paths to the path used for export formats, so that we can find them in a bundle
git-svn-id: svn://localhost/ardour2/branches/3.0@9261 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/export_profile_manager.cc')
-rw-r--r-- | libs/ardour/export_profile_manager.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libs/ardour/export_profile_manager.cc b/libs/ardour/export_profile_manager.cc index ff11262109..4d2b7795a4 100644 --- a/libs/ardour/export_profile_manager.cc +++ b/libs/ardour/export_profile_manager.cc @@ -29,6 +29,7 @@ #include "ardour/export_profile_manager.h" #include "ardour/export_format_specification.h" +#include "ardour/export_formats_search_path.h" #include "ardour/export_timespan.h" #include "ardour/export_channel_configuration.h" #include "ardour/export_filename.h" @@ -60,14 +61,12 @@ ExportProfileManager::ExportProfileManager (Session & s, std::string xml_node_na , format_list (new FormatList ()) { - /* Initialize path variables */ export_config_dir = user_config_directory(); export_config_dir /= "export"; - search_path += export_config_dir; - search_path += system_data_search_path().add_subdirectory_to_paths("export"); + search_path += export_formats_search_path(); info << string_compose (_("Searching for export formats in %1"), search_path.to_string()) << endmsg; |