summaryrefslogtreecommitdiff
path: root/src/lib/video_mxf_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-25 13:29:13 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-25 13:29:13 +0100
commit4ee6786d1c3db04dcc77e511121e5d62d0d595b5 (patch)
tree95ac9aa9af77caccffac5b7fcf63cb1a672ca77a /src/lib/video_mxf_decoder.h
parentd22243e8cd54c1c5de6c670445395907007428ea (diff)
Add VideoMXFContent (part of #803).
Diffstat (limited to 'src/lib/video_mxf_decoder.h')
-rw-r--r--src/lib/video_mxf_decoder.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/lib/video_mxf_decoder.h b/src/lib/video_mxf_decoder.h
new file mode 100644
index 000000000..fa9bfe818
--- /dev/null
+++ b/src/lib/video_mxf_decoder.h
@@ -0,0 +1,37 @@
+/*
+ Copyright (C) 2016 Carl Hetherington <cth@carlh.net>
+
+ This program 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 2 of the License, or
+ (at your option) any later version.
+
+ This program 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 this program; if not, write to the Free Software
+ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+*/
+
+#include "decoder.h"
+
+class VideoMXFContent;
+class Log;
+
+class VideoMXFDecoder : public Decoder
+{
+public:
+ VideoMXFDecoder (boost::shared_ptr<const VideoMXFContent>, boost::shared_ptr<Log> log);
+
+private:
+ bool pass (PassReason, bool accurate);
+ void seek (ContentTime t, bool accurate);
+
+ boost::shared_ptr<const VideoMXFContent> _content;
+ /** Time of next thing to return from pass */
+ ContentTime _next;
+};