From 4ee6786d1c3db04dcc77e511121e5d62d0d595b5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 25 May 2016 13:29:13 +0100 Subject: Add VideoMXFContent (part of #803). --- src/lib/video_mxf_decoder.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/lib/video_mxf_decoder.h (limited to 'src/lib/video_mxf_decoder.h') 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 + + 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, boost::shared_ptr log); + +private: + bool pass (PassReason, bool accurate); + void seek (ContentTime t, bool accurate); + + boost::shared_ptr _content; + /** Time of next thing to return from pass */ + ContentTime _next; +}; -- cgit v1.2.3