summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-04-09 22:43:56 +0100
committerCarl Hetherington <cth@carlh.net>2017-04-19 23:04:32 +0100
commit4073923b2c5ccf127c61435cd575542351421f05 (patch)
tree15c5708ba2e8f6dc64a5d843aca3549132938e93 /src/wx
parentad0c51a63b40922c900ccc03c3b6417874a8c981 (diff)
Several fixes to audio.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/film_viewer.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc
index 3d9ec036b..588a27e01 100644
--- a/src/wx/film_viewer.cc
+++ b/src/wx/film_viewer.cc
@@ -195,7 +195,6 @@ FilmViewer::set_film (shared_ptr<Film> film)
in the preview.
*/
_player->set_always_burn_subtitles (true);
- _player->set_ignore_audio ();
_player->set_play_referenced ();
_film->Changed.connect (boost::bind (&FilmViewer::film_changed, this, _1));
@@ -252,8 +251,6 @@ FilmViewer::refresh_panel ()
void
FilmViewer::get ()
{
- cout << "get!\n";
-
pair<shared_ptr<PlayerVideo>, DCPTime> video;
do {
video = _butler->get_video ();
@@ -422,9 +419,9 @@ FilmViewer::check_play_state ()
}
if (_play_button->GetValue()) {
- _timer.Start (1000 / _film->video_frame_rate());
+ start ();
} else {
- _timer.Stop ();
+ stop ();
}
}