return _dropped;
}
+ int errored () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _errored;
+ }
+
int gets () const {
boost::mutex::scoped_lock lm (_mutex);
return _gets;
protected:
bool get_next_frame (bool non_blocking);
- int time_until_next_frame () const;
+ boost::optional<int> time_until_next_frame () const;
dcpomatic::DCPTime one_video_frame () const;
int video_frame_rate () const {
bool _three_d;
int _dropped;
+ int _errored;
int _gets;
};