]> git.sesse.net Git - casparcg/blobdiff - modules/ffmpeg/producer/filter/filter.h
2.0. Updated namespaces.
[casparcg] / modules / ffmpeg / producer / filter / filter.h
index de89332b90d7b862c15252a4af2257c298018d56..7b3078518aef29cab2a3cd5945bca2442bcd7254 100644 (file)
@@ -8,8 +8,9 @@
 #include <vector>\r
 \r
 struct AVFrame;\r
+enum PixelFormat;\r
 \r
-namespace caspar {\r
+namespace caspar { namespace ffmpeg {\r
                \r
 static bool double_rate(const std::wstring& filters)\r
 {\r
@@ -25,7 +26,7 @@ static bool double_rate(const std::wstring& filters)
 class filter : boost::noncopyable\r
 {\r
 public:\r
-       filter(const std::wstring& filters = L"");\r
+       filter(const std::wstring& filters = L"", const std::vector<PixelFormat>& pix_fmts = std::vector<PixelFormat>());\r
        filter(filter&& other);\r
        filter& operator=(filter&& other);\r
 \r
@@ -36,4 +37,4 @@ private:
        safe_ptr<implementation> impl_;\r
 };\r
 \r
-}
\ No newline at end of file
+}}
\ No newline at end of file