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 f15c06d..1c1da70 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 ();