- std::list<ContentVideo> decoded_video (Frame frame);
- void fill_one_eye (Frame from, Frame to, Eyes);
- void fill_both_eyes (Frame from, Frame to, Eyes);
-
- Decoder* _parent;
- boost::shared_ptr<const Content> _video_content;
- boost::shared_ptr<Log> _log;
- std::list<ContentVideo> _decoded_video;
- boost::shared_ptr<Image> _black_image;
- boost::optional<ContentTime> _last_seek_time;
- bool _last_seek_accurate;
- /** true if this decoder should ignore all video; i.e. never produce any */
- bool _ignore_video;
- /** if set, this is a frame for which we got no data because the Decoder said
- * it has no more to give.
- */
- boost::optional<Frame> _no_data_frame;
+ /** @return true if the emitted data was accepted, false if not */
+ boost::signals2::signal<void (ContentVideo)> Data;
+
+private:
+ /** Time of last thing to be emitted */
+ boost::shared_ptr<const Content> _content;
+ boost::optional<Frame> _last_emitted;
+ dcpomatic::ContentTime _position;