summaryrefslogtreecommitdiff
path: root/src/wx/content_timeline.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/content_timeline.cc')
-rw-r--r--src/wx/content_timeline.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/content_timeline.cc b/src/wx/content_timeline.cc
index 663f93030..7200bf076 100644
--- a/src/wx/content_timeline.cc
+++ b/src/wx/content_timeline.cc
@@ -307,7 +307,7 @@ ContentTimeline::recreate_views()
_views.push_back(make_shared<ContentTimelineVideoView>(*this, i));
}
- if (i->audio && !i->audio->mapping().mapped_output_channels().empty ()) {
+ if (i->has_mapped_audio()) {
_views.push_back(make_shared<ContentTimelineAudioView>(*this, i));
}