summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_videotimeline.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-12 11:21:12 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-12 11:21:12 -0400
commit8877199ae052a33c68541dd610dba385645c6e1e (patch)
treee47efdbc0dad4e900df339562e77bcf56e8c55c3 /gtk2_ardour/editor_videotimeline.cc
parent4258a349121392516543486bd9de6f13fe3f3331 (diff)
leftmost_position => leftmost_sample, current_page_frames => current_page_samples
Diffstat (limited to 'gtk2_ardour/editor_videotimeline.cc')
-rw-r--r--gtk2_ardour/editor_videotimeline.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_videotimeline.cc b/gtk2_ardour/editor_videotimeline.cc
index 574400c2d9..b550bbee55 100644
--- a/gtk2_ardour/editor_videotimeline.cc
+++ b/gtk2_ardour/editor_videotimeline.cc
@@ -56,7 +56,7 @@ void
Editor::update_video_timeline (bool flush)
{
#if DEBUG
- framepos_t rightmost_frame = leftmost_frame + current_page_frames();
+ framepos_t rightmost_frame = leftmost_frame + current_page_samples();
std::cout << "VIDEO SCROLL: " << leftmost_frame << " -- " << rightmost_frame << std::endl;
std::cout << "SCROLL UNITS: " << sample_to_pixel(leftmost_frame) << " -- " << sample_to_pixel(rightmost_frame)
<< " = " << sample_to_pixel(rightmost_frame) - sample_to_pixel(leftmost_frame)