summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-19 23:27:34 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-19 23:27:34 +0200
commitfd198a9cb1f033773102f54603bd06b98f3c7fb1 (patch)
tree29eb553140487ad3c841b2c4348c122438c918a9 /src/wx
parent60d53efe2cb3bddf98ca3cba937247a8024e7d63 (diff)
Add and use Content::has_mapped_audio().
Diffstat (limited to 'src/wx')
-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 38e9de4ee..2789d2a54 100644
--- a/src/wx/timeline.cc
+++ b/src/wx/timeline.cc
@@ -315,7 +315,7 @@ Timeline::recreate_views ()
_views.push_back (make_shared<TimelineVideoContentView>(*this, i));
}
- if (i->audio && !i->audio->mapping().mapped_output_channels().empty ()) {
+ if (i->has_mapped_audio()) {
_views.push_back (make_shared<TimelineAudioContentView>(*this, i));
}