dcpomatic::DCPTime position () const {
return _video_view->position();
}
+ boost::optional<dcpomatic::ContentTime> position_in_content (std::shared_ptr<const Content> content) const;
dcpomatic::DCPTime one_video_frame () const;
void start ();
void set_eyes (Eyes e);
void set_pad_black (bool p);
void set_optimise_for_j2k (bool o);
+ void set_crop_guess (dcpomatic::Rect<float> crop);
+ void unset_crop_guess ();
void slow_refresh ();
}
void finished ();
void image_changed (std::shared_ptr<PlayerVideo> video);
+ boost::optional<dcpomatic::Rect<float>> crop_guess () const {
+ return _crop_guess;
+ }
bool pending_idle_get () const {
return _idle_get;
/** true if an get() is required next time we are idle */
bool _idle_get = false;
+ boost::optional<dcpomatic::Rect<float>> _crop_guess;
+
boost::signals2::scoped_connection _config_changed_connection;
};