#include <string>
#include <vector>
+#if defined(_MSC_VER)
+#pragma warning (push)
+#pragma warning (disable : 4244)
+#endif
+extern "C"
+{
+#include <libavutil/pixfmt.h>
+}
+#if defined(_MSC_VER)
+#pragma warning (pop)
+#endif
+
struct AVFrame;
-enum AVPixelFormat;
namespace caspar { namespace ffmpeg {
return filters + (filters.empty() ? L"" : L",") + filter;
}
+static std::wstring prepend_filter(const std::wstring& filters, const std::wstring& filter)
+{
+ return filter + (filters.empty() ? L"" : L",") + filters;
+}
+
class filter : boost::noncopyable
{
public:
return true;
return false;
}
-
- static int delay(const std::wstring& filters)
- {
- return is_double_rate(filters) ? 1 : 1;
- }
-
- int delay() const
- {
- return delay(filter_str());
- }
bool is_double_rate() const
{
spl::shared_ptr<implementation> impl_;
};
-}}
\ No newline at end of file
+}}