]> git.sesse.net Git - casparcg/blobdiff - modules/ffmpeg/producer/util/flv.cpp
2.1.0: -data_frame: Added field_mode and frame_rate meta-data.
[casparcg] / modules / ffmpeg / producer / util / flv.cpp
index 4b9063173b7be86264b265b74709b0d934cbb99b..5ce5aff7498369b11101e3953bc308bbee0fcb22 100644 (file)
@@ -23,7 +23,8 @@
 \r
 #include "flv.h"\r
 \r
-#include <common/exception/exceptions.h>\r
+#include <common/except.h>\r
+#include <common/log.h>\r
 \r
 #include <boost/filesystem.hpp>\r
 \r
@@ -37,12 +38,12 @@ std::map<std::string, std::string> read_flv_meta_info(const std::string& filenam
 {\r
        std::map<std::string, std::string>  values;\r
 \r
-       if(boost::filesystem2::path(filename).extension() != ".flv")\r
+       if(boost::filesystem::path(filename).extension().string() != ".flv")\r
                return values;\r
        \r
        try\r
        {\r
-               if(!boost::filesystem2::exists(filename))\r
+               if(!boost::filesystem::exists(filename))\r
                        BOOST_THROW_EXCEPTION(caspar_exception());\r
        \r
                std::fstream fileStream = std::fstream(filename, std::fstream::in);\r