summaryrefslogtreecommitdiff
path: root/src/wx/timeline.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/timeline.cc')
-rw-r--r--src/wx/timeline.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/timeline.cc b/src/wx/timeline.cc
index 3747a3dac..8d70a9381 100644
--- a/src/wx/timeline.cc
+++ b/src/wx/timeline.cc
@@ -375,7 +375,7 @@ Timeline::playlist_changed ()
_views.clear ();
- Playlist::ContentList content = fl->playlist()->content_with_loop ();
+ Playlist::ContentList content = fl->playlist()->content ();
for (Playlist::ContentList::iterator i = content.begin(); i != content.end(); ++i) {
if (dynamic_pointer_cast<VideoContent> (*i)) {
@@ -460,7 +460,7 @@ Timeline::setup_pixels_per_time_unit ()
return;
}
- _pixels_per_time_unit = static_cast<double>(width() - x_offset() * 2) / film->length_with_loop();
+ _pixels_per_time_unit = static_cast<double>(width() - x_offset() * 2) / film->length ();
}
void