void seek (ContentTime time, bool accurate);
void give (boost::shared_ptr<const ImageProxy>, Frame frame);
+ boost::optional<ContentTime> position () const {
+ return _position;
+ }
+
+ void reset_position () {
+ _position.reset ();
+ }
+
private:
std::list<ContentVideo> decoded (Frame frame);
void fill_both_eyes (VideoFrame from, VideoFrame to);
boost::shared_ptr<const Content> _content;
- boost::shared_ptr<Log> _log;
std::list<ContentVideo> _decoded;
boost::shared_ptr<Image> _black_image;
boost::optional<ContentTime> _last_seek_time;
* it has no more to give.
*/
boost::optional<Frame> _no_data_frame;
+ boost::optional<ContentTime> _position;
};
#endif