X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fpiece.h;h=9fd53748d42f4a83c3b40365623fe5fc5fe2d935;hb=54ca161fd074a7ba17d9aed8479da189374eb64e;hp=440beecf4bd6af079bd5b552fae0fddd3ead7a44;hpb=1aad2c33896ce6222f3c929c7af7fe4ff5fda0f2;p=dcpomatic.git diff --git a/src/lib/piece.h b/src/lib/piece.h index 440beecf4..9fd53748d 100644 --- a/src/lib/piece.h +++ b/src/lib/piece.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2014 Carl Hetherington + Copyright (C) 2013-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,29 +18,37 @@ */ + #ifndef DCPOMATIC_PIECE_H #define DCPOMATIC_PIECE_H -#include "types.h" + +#include "dcpomatic_time.h" #include "frame_rate_change.h" +#include + class Content; class Decoder; + class Piece { public: - Piece (boost::shared_ptr c, boost::shared_ptr d, FrameRateChange f) + Piece (std::shared_ptr c, std::shared_ptr d, FrameRateChange f) : content (c) , decoder (d) , frc (f) , done (false) {} - boost::shared_ptr content; - boost::shared_ptr decoder; + std::shared_ptr content; + std::shared_ptr decoder; + std::vector ignore_video; + std::vector ignore_atmos; FrameRateChange frc; bool done; }; + #endif