]> git.sesse.net Git - casparcg/blobdiff - modules/ffmpeg/producer/input.h
2.0. Updated namespaces.
[casparcg] / modules / ffmpeg / producer / input.h
index 1d5b729d49b9dde64584f99c53bfe51e5812999d..6b391581f519b7ab615aa52478316632676777d4 100644 (file)
@@ -36,11 +36,13 @@ namespace diagnostics {
 class graph;\r
 \r
 }\r
-       \r
+        \r
+namespace ffmpeg {\r
+\r
 class input : boost::noncopyable\r
 {\r
 public:\r
-       explicit input(const safe_ptr<diagnostics::graph>& graph, const std::wstring& filename, bool loop, int start, int length);\r
+       explicit input(const safe_ptr<diagnostics::graph>& graph, const std::wstring& filename, bool loop, size_t start = 0, size_t length = std::numeric_limits<size_t>::max());\r
 \r
        bool try_pop(std::shared_ptr<AVPacket>& packet);\r
        bool eof() const;\r
@@ -55,4 +57,4 @@ private:
 };\r
 \r
        \r
-}\r
+}}\r