projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move _dropped into VideoView.
[dcpomatic.git]
/
src
/
wx
/
film_viewer.cc
diff --git
a/src/wx/film_viewer.cc
b/src/wx/film_viewer.cc
index c1d04be03f05e5d9f4a88d6de7f85a13409e773f..cb9c85b3d2acf38b6738394c320403e54ba446d3 100644
(file)
--- a/
src/wx/film_viewer.cc
+++ b/
src/wx/film_viewer.cc
@@
-86,7
+86,6
@@
FilmViewer::FilmViewer (wxWindow* p)
, _playing (false)
, _suspended (0)
, _latency_history_count (0)
, _playing (false)
, _suspended (0)
, _latency_history_count (0)
- , _dropped (0)
, _closed_captions_dialog (new ClosedCaptionsDialog(p, this))
, _outline_content (false)
, _eyes (EYES_LEFT)
, _closed_captions_dialog (new ClosedCaptionsDialog(p, this))
, _outline_content (false)
, _eyes (EYES_LEFT)
@@
-326,7
+325,6
@@
FilmViewer::start ()
_audio.startStream ();
}
_audio.startStream ();
}
- _dropped = 0;
_playing = true;
_video_view->start ();
Started (position());
_playing = true;
_video_view->start ();
Started (position());
@@
-656,3
+654,9
@@
FilmViewer::emit_finished ()
emit (boost::bind(boost::ref(Finished)));
}
emit (boost::bind(boost::ref(Finished)));
}
+int
+FilmViewer::dropped () const
+{
+ return _video_view->dropped ();
+}
+