diff --git a/ChangeLog b/ChangeLog index f7427057d..287f5bef7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2011-02-15 Moritz Bunkus + * build: Boost 1.36.0 or newer is required (up from 1.34.0). Also + fixed building with v3 of Boost's filesystem library, e.g. with + Boost 1.46.0 Beta 1 or newer. + * mkvpropedit: new feature: Added support for adding, replacing and removing tags. diff --git a/ac/boost.m4 b/ac/boost.m4 index 86f75fa97..a49424782 100644 --- a/ac/boost.m4 +++ b/ac/boost.m4 @@ -1,5 +1,5 @@ # boost's headers must be present. -AX_BOOST_BASE([1.34.0]) +AX_BOOST_BASE([1.36.0]) # boost::system can be absend for older versions. However, the test # for boost::filesystem might fail if boost::system is not available diff --git a/src/common/mm_multi_file_io.cpp b/src/common/mm_multi_file_io.cpp index 4418a9f65..1157d91bf 100644 --- a/src/common/mm_multi_file_io.cpp +++ b/src/common/mm_multi_file_io.cpp @@ -15,6 +15,7 @@ #include #include +#include #include #include "common/mm_multi_file_io.h" @@ -155,14 +156,17 @@ mm_multi_file_io_c::create_verbose_identification_info(std::vector void mm_multi_file_io_c::display_other_file_info() { - std::vector file_names; + std::stringstream out; foreach(const mm_multi_file_io_c::file_t &file, m_files) - if (file.m_file_name != m_files.front().m_file_name) - file_names.push_back(file.m_file_name.leaf()); + if (file.m_file_name != m_files.front().m_file_name) { + if (!out.str().empty()) + out << ", "; + out << file.m_file_name.filename(); + } - if (!file_names.empty()) - mxinfo(boost::format(Y("'%1%': Processing the following files as well: %2%\n")) % m_display_file_name % join(", ", file_names)); + if (!out.str().empty()) + mxinfo(boost::format(Y("'%1%': Processing the following files as well: %2%\n")) % m_display_file_name % out.str()); } struct path_sorter_t {