Try to fix missing inbuilt translations of wxWidgets in Fedora (#1502).
[dcpomatic.git] / src / wx / timeline.cc
index 206c13cf69e64fa15a00316dfff917de9d9304a0..1c1da708e44dcc81bbd10515751bff1f982c739d 100644 (file)
@@ -256,7 +256,7 @@ Timeline::film_content_change (ChangeType type, int property, bool frequent)
 
        ensure_ui_thread ();
 
-       if (property == AudioContentProperty::STREAMS) {
+       if (property == AudioContentProperty::STREAMS || property == VideoContentProperty::FRAME_TYPE) {
                recreate_views ();
        } else if (property == ContentProperty::POSITION || property == ContentProperty::LENGTH) {
                _reels_view->force_redraw ();
@@ -531,7 +531,7 @@ Timeline::left_down_select (wxMouseEvent& ev)
                        _start_snaps.push_back (cv->content()->end(film));
                        _end_snaps.push_back (cv->content()->end(film));
 
-                       BOOST_FOREACH (DCPTime i, cv->content()->reel_split_points()) {
+                       BOOST_FOREACH (DCPTime i, cv->content()->reel_split_points(film)) {
                                _start_snaps.push_back (i);
                        }
                }