diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-04-27 23:41:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-04-27 23:41:26 +0100 |
| commit | 7f2e74604a51b984e4c8cbb5d5f4bb642677ec00 (patch) | |
| tree | be2da9736a298d9367c8c8f1aa231c43251ccaab /src/lib/piece.h | |
| parent | 243dff6782db2783648c9efc0e6cd17b1c6cdaae (diff) | |
| parent | ab43240870523c96c68493d107b8bc8c5294629b (diff) | |
Merge master.
Diffstat (limited to 'src/lib/piece.h')
| -rw-r--r-- | src/lib/piece.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/lib/piece.h b/src/lib/piece.h new file mode 100644 index 000000000..976409381 --- /dev/null +++ b/src/lib/piece.h @@ -0,0 +1,43 @@ +/* + Copyright (C) 2013-2014 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. + +*/ + +#ifndef DCPOMATIC_PIECE_H +#define DCPOMATIC_PIECE_H + +#include "types.h" +#include "video_content.h" + +class Content; +class Decoder; + +class Piece +{ +public: + Piece (boost::shared_ptr<Content> c, boost::shared_ptr<Decoder> d, FrameRateChange f) + : content (c) + , decoder (d) + , frc (f) + {} + + boost::shared_ptr<Content> content; + boost::shared_ptr<Decoder> decoder; + FrameRateChange frc; +}; + +#endif |
