friend struct ffmpeg_pts_offset_test;
friend void ffmpeg_decoder_sequential_test_one (boost::filesystem::path file, float fps, int gaps, int video_length);
- dcpomatic::ContentTime position (boost::shared_ptr<const Film>) const {
+ boost::optional<dcpomatic::ContentTime> position (boost::shared_ptr<const Film>) const {
return _position;
}
private:
boost::shared_ptr<const Content> _content;
- /** Frame of last thing to be emitted */
+ /** Frame of last thing to be emitted; only used for 3D */
boost::optional<Frame> _last_emitted_frame;
boost::optional<Eyes> _last_emitted_eyes;
- dcpomatic::ContentTime _position;
+ boost::optional<dcpomatic::ContentTime> _position;
+ std::vector<Frame> _last_threed_frames;
};
#endif