diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-08-08 18:11:11 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-08-09 10:18:46 +0200 |
| commit | a3c1ae7c2e46b65347341896b3d1a505ff92632b (patch) | |
| tree | 2b096eb0676f52c9989952e341f2bd98143ce125 /src/wx/video_panel.cc | |
| parent | af5b9dfadf8989311cd5f78554349f0283912522 (diff) | |
Extract Film::Property to its own header to (maybe) increase compilation speed.
Diffstat (limited to 'src/wx/video_panel.cc')
| -rw-r--r-- | src/wx/video_panel.cc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc index 4f7c2db79..a9ef6e02d 100644 --- a/src/wx/video_panel.cc +++ b/src/wx/video_panel.cc @@ -33,6 +33,7 @@ #include "lib/config.h" #include "lib/dcp_content.h" #include "lib/ffmpeg_content.h" +#include "lib/film.h" #include "lib/filter.h" #include "lib/frame_rate_change.h" #include "lib/ratio.h" @@ -343,17 +344,17 @@ VideoPanel::range_changed () void -VideoPanel::film_changed (Film::Property property) +VideoPanel::film_changed(FilmProperty property) { switch (property) { - case Film::Property::VIDEO_FRAME_RATE: - case Film::Property::CONTAINER: - case Film::Property::RESOLUTION: + case FilmProperty::VIDEO_FRAME_RATE: + case FilmProperty::CONTAINER: + case FilmProperty::RESOLUTION: setup_description (); setup_sensitivity (); break; - case Film::Property::REEL_TYPE: - case Film::Property::INTEROP: + case FilmProperty::REEL_TYPE: + case FilmProperty::INTEROP: setup_sensitivity (); break; default: |
