summaryrefslogtreecommitdiff
path: root/src/wx/timeline.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-02-12 23:04:47 +0000
committerCarl Hetherington <cth@carlh.net>2019-02-12 23:04:47 +0000
commit2eaeebc72e18fb54104b3fd9e4d7139962b27dfb (patch)
tree4607d605e89710e6c2e541464fc0a816841161ff /src/wx/timeline.cc
parent7203f0065a070902f29536f56ba019e47c57d02d (diff)
Update timeline when video frame type changes (#1464).
Diffstat (limited to 'src/wx/timeline.cc')
-rw-r--r--src/wx/timeline.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc
index f15c06d38..1c1da708e 100644
--- a/src/wx/timeline.cc
+++ b/src/wx/timeline.cc
@@ -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 ();