]> git.sesse.net Git - casparcg/blobdiff - modules/ffmpeg/producer/input/input.h
set svn:eol-style native on .h and .cpp files
[casparcg] / modules / ffmpeg / producer / input / input.h
index e13ccd28887e51569a2d91f12822e76770e4072e..7bba5aa3af3a4ccb8f02462e7b1398f9308b0c1e 100644 (file)
@@ -1,71 +1,71 @@
-/*\r
-* Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\r
-*\r
-* This file is part of CasparCG (www.casparcg.com).\r
-*\r
-* CasparCG is free software: you can redistribute it and/or modify\r
-* it under the terms of the GNU General Public License as published by\r
-* the Free Software Foundation, either version 3 of the License, or\r
-* (at your option) any later version.\r
-*\r
-* CasparCG is distributed in the hope that it will be useful,\r
-* but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-* GNU General Public License for more details.\r
-*\r
-* You should have received a copy of the GNU General Public License\r
-* along with CasparCG. If not, see <http://www.gnu.org/licenses/>.\r
-*\r
-* Author: Robert Nagy, ronag89@gmail.com\r
-*/\r
-\r
-#pragma once\r
-\r
-#include <common/memory.h>\r
-\r
-#include <memory>\r
-#include <string>\r
-#include <cstdint>\r
-\r
-#include <boost/noncopyable.hpp>\r
-\r
-struct AVFormatContext;\r
-struct AVPacket;\r
-\r
-namespace caspar {\r
-\r
-namespace diagnostics {\r
-\r
-class graph;\r
-\r
-}\r
-        \r
-namespace ffmpeg {\r
-\r
-class input : boost::noncopyable\r
-{\r
-public:\r
-       explicit input(const spl::shared_ptr<diagnostics::graph>& graph, const std::wstring& filename, bool loop, uint32_t start, uint32_t length);\r
-\r
-       bool            try_pop_video(std::shared_ptr<AVPacket>& packet);\r
-       bool            try_pop_audio(std::shared_ptr<AVPacket>& packet);\r
-\r
-       void            loop(bool value);\r
-       bool            loop() const;\r
-\r
-       void            start(uint32_t value);\r
-       uint32_t        start() const;\r
-\r
-       void            length(uint32_t value);\r
-       uint32_t        length() const;\r
-\r
-       void            seek(uint32_t target);\r
-\r
-       AVFormatContext& context();\r
-private:\r
-       struct impl;\r
-       std::shared_ptr<impl> impl_;\r
-};\r
-\r
-       \r
-}}\r
+/*
+* Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>
+*
+* This file is part of CasparCG (www.casparcg.com).
+*
+* CasparCG is free software: you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation, either version 3 of the License, or
+* (at your option) any later version.
+*
+* CasparCG is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with CasparCG. If not, see <http://www.gnu.org/licenses/>.
+*
+* Author: Robert Nagy, ronag89@gmail.com
+*/
+
+#pragma once
+
+#include <common/memory.h>
+
+#include <memory>
+#include <string>
+#include <cstdint>
+
+#include <boost/noncopyable.hpp>
+
+struct AVFormatContext;
+struct AVPacket;
+
+namespace caspar {
+
+namespace diagnostics {
+
+class graph;
+
+}
+        
+namespace ffmpeg {
+
+class input : boost::noncopyable
+{
+public:
+       explicit input(const spl::shared_ptr<diagnostics::graph>& graph, const std::wstring& filename, bool loop, uint32_t start, uint32_t length);
+
+       bool            try_pop_video(std::shared_ptr<AVPacket>& packet);
+       bool            try_pop_audio(std::shared_ptr<AVPacket>& packet);
+
+       void            loop(bool value);
+       bool            loop() const;
+
+       void            start(uint32_t value);
+       uint32_t        start() const;
+
+       void            length(uint32_t value);
+       uint32_t        length() const;
+
+       void            seek(uint32_t target);
+
+       AVFormatContext& context();
+private:
+       struct impl;
+       std::shared_ptr<impl> impl_;
+};
+
+       
+}}