diff options
Diffstat (limited to 'src/lib/piece.h')
| -rw-r--r-- | src/lib/piece.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/piece.h b/src/lib/piece.h index 440beecf4..f4496c08e 100644 --- a/src/lib/piece.h +++ b/src/lib/piece.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2014 Carl Hetherington <cth@carlh.net> + Copyright (C) 2013-2020 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -21,8 +21,10 @@ #ifndef DCPOMATIC_PIECE_H #define DCPOMATIC_PIECE_H -#include "types.h" +#include "content.h" +#include "dcpomatic_time.h" #include "frame_rate_change.h" +#include "types.h" class Content; class Decoder; @@ -37,6 +39,10 @@ public: , done (false) {} + dcpomatic::DCPTime position () const { + return content->position (); + } + boost::shared_ptr<Content> content; boost::shared_ptr<Decoder> decoder; FrameRateChange frc; |
