2 * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>
\r
4 * This file is part of CasparCG (www.casparcg.com).
\r
6 * CasparCG is free software: you can redistribute it and/or modify
\r
7 * it under the terms of the GNU General Public License as published by
\r
8 * the Free Software Foundation, either version 3 of the License, or
\r
9 * (at your option) any later version.
\r
11 * CasparCG is distributed in the hope that it will be useful,
\r
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
14 * GNU General Public License for more details.
\r
16 * You should have received a copy of the GNU General Public License
\r
17 * along with CasparCG. If not, see <http://www.gnu.org/licenses/>.
\r
19 * Author: Robert Nagy, ronag89@gmail.com
\r
32 #include <functional>
\r
33 #include <algorithm>
\r
40 #include <tbb/atomic.h>
\r
41 #include <tbb/concurrent_queue.h>
\r
42 #include <tbb/parallel_for.h>
\r
44 #include <boost/assign.hpp>
\r
45 #include <boost/algorithm/string.hpp>
\r
46 #include <boost/filesystem.hpp>
\r
47 #include <boost/foreach.hpp>
\r
48 #include <boost/range/algorithm.hpp>
\r
49 #include <boost/property_tree/ptree.hpp>
\r
50 #include <boost/assign.hpp>
\r
52 #include <common/utility/string.h>
\r
53 #include <common/utility/assert.h>
\r
54 #include <common/memory/safe_ptr.h>
\r
55 //#include "../common/concurrency/executor.h" // Can't include this due to MSVC lambda bug
\r
57 #include <common/log/log.h>
\r
58 #include <common/exception/exceptions.h>
\r
59 #include <common/exception/win32_exception.h>
\r
61 #pragma warning(push, 1)
\r
65 #define __STDC_CONSTANT_MACROS
\r
66 #define __STDC_LIMIT_MACROS
\r
67 #include <libavformat/avformat.h>
\r
68 #include <libavcodec/avcodec.h>
\r
69 #include <libavfilter/avfilter.h>
\r
70 #include <libswscale/swscale.h>
\r
73 #pragma warning(pop)
\r