From b69537a43bf81498b5228888c63bcf82ed000361 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 16 Dec 2012 14:05:44 +0000 Subject: [PATCH] Respond to ratio changes. --- src/wx/film_viewer.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/wx/film_viewer.cc b/src/wx/film_viewer.cc index 241b60e8a..5c3e26a31 100644 --- a/src/wx/film_viewer.cc +++ b/src/wx/film_viewer.cc @@ -78,10 +78,6 @@ void FilmViewer::film_changed (Film::Property p) { switch (p) { - case Film::CROP: - calculate_sizes (); - update_from_raw (); - break; case Film::FORMAT: calculate_sizes (); update_from_raw (); @@ -104,6 +100,8 @@ FilmViewer::set_film (shared_ptr f) return; } + _film->Changed.connect (boost::bind (&FilmViewer::film_changed, this, _1)); + shared_ptr o (new DecodeOptions); o->decode_audio = false; o->video_sync = false; -- 2.30.2