}
try {
- _player.reset (new Player (_film, _film->playlist ()));
+ _player.reset (new Player(_film, _film->playlist(), _film->length()));
_player->set_fast ();
if (_dcp_decode_reduction) {
_player->set_dcp_decode_reduction (_dcp_decode_reduction);
}
if (t >= _film->length ()) {
- t = _film->length ();
+ t = _film->length() - one_video_frame();
}
suspend ();
return _video_view->dropped ();
}
+
+int
+FilmViewer::errored () const
+{
+ return _video_view->errored ();
+}
+
+
int
FilmViewer::gets () const
{