diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-27 02:09:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-05-27 02:09:22 +0100 |
| commit | 387304bc9147933b68eda2b38ba8cac0d250e87e (patch) | |
| tree | 0697a08182c94193a3424d44d5f7af4231f0ade3 /src/wx/timing_panel.cc | |
| parent | fd2b1840496fa121727b7e835843c8beeaebd5eb (diff) | |
Untested use of Frame for video/audio content lengths.
Diffstat (limited to 'src/wx/timing_panel.cc')
| -rw-r--r-- | src/wx/timing_panel.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc index cafb06dfc..74c1756a5 100644 --- a/src/wx/timing_panel.cc +++ b/src/wx/timing_panel.cc @@ -284,8 +284,8 @@ TimingPanel::full_length_changed () for (ContentList::iterator i = c.begin(); i != c.end(); ++i) { shared_ptr<ImageContent> ic = dynamic_pointer_cast<ImageContent> (*i); if (ic && ic->still ()) { - /* XXX: No effective FRC here... is this right? */ - ic->set_video_length (ContentTime (_full_length->get (_parent->film()->video_frame_rate()), FrameRateChange (1, 1))); + int const vfr = _parent->film()->video_frame_rate (); + ic->set_video_length (_full_length->get (vfr).frames (vfr)); } } } |
