summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-08-09 13:07:55 +0100
committerCarl Hetherington <cth@carlh.net>2014-08-09 13:07:55 +0100
commitfdf4bfbca898ba5401a6853f481968d15b6ebded (patch)
tree7cf3b82cc9a7969fee111017b208b5ee6d419944 /src/wx
parent9a3bb0784f7cd1011e071eeea53b30f15c8dbe3c (diff)
Only build FrameRateChange description when required, not every time one is constructed.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/video_panel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index 2d874b959..fcb1b9f80 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -332,7 +332,7 @@ VideoPanel::setup_description ()
d << wxString::Format (_("Content frame rate %.4f\n"), vcs->video_frame_rate ());
++lines;
FrameRateChange frc (vcs->video_frame_rate(), _editor->film()->video_frame_rate ());
- d << std_to_wx (frc.description) << "\n";
+ d << std_to_wx (frc.description ()) << "\n";
++lines;
for (int i = lines; i < 6; ++i) {