Update timeline when video frame type changes (#1464).
authorCarl Hetherington <cth@carlh.net>
Tue, 12 Feb 2019 23:04:47 +0000 (23:04 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 12 Feb 2019 23:04:47 +0000 (23:04 +0000)
src/wx/timeline.cc

index f15c06d3859bf0cf6c3d047d2fa0553479684e0a..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 ();