--- 1/jobs.c 2011-10-04 18:25:45.000000000 +0200 +++ 2/jobs.c 2013-10-25 13:14:44.000000000 +0200 @@ -263,7 +263,11 @@ std::string recording::get_graft_point() const { return proctools::format("{0}={1}") - % m_fileName.substr(std::string(VideoDirectory).length()) +#if APIVERSNUM > 20101 + % m_fileName.substr(std::string(cVideoDirectory::Name()).length()) +#else + % m_fileName.substr(std::string(VideoDirectory).length()) +#endif % m_fileName; }