diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-12-16 14:05:44 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-12-16 14:05:44 +0000 |
| commit | b69537a43bf81498b5228888c63bcf82ed000361 (patch) | |
| tree | ccfca3fc780297286907769d9326910bd287421b /src | |
| parent | 1073b0ea3f80e1c941fd36546994ec053c5407c9 (diff) | |
Respond to ratio changes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/film_viewer.cc | 6 |
1 files 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<Film> f) return; } + _film->Changed.connect (boost::bind (&FilmViewer::film_changed, this, _1)); + shared_ptr<DecodeOptions> o (new DecodeOptions); o->decode_audio = false; o->video_sync = false; |
