diff options
Diffstat (limited to 'gtk2_ardour/editor_videotimeline.cc')
-rw-r--r-- | gtk2_ardour/editor_videotimeline.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_videotimeline.cc b/gtk2_ardour/editor_videotimeline.cc index 4951a4e35a..574400c2d9 100644 --- a/gtk2_ardour/editor_videotimeline.cc +++ b/gtk2_ardour/editor_videotimeline.cc @@ -58,8 +58,8 @@ Editor::update_video_timeline (bool flush) #if DEBUG framepos_t rightmost_frame = leftmost_frame + current_page_frames(); std::cout << "VIDEO SCROLL: " << leftmost_frame << " -- " << rightmost_frame << std::endl; - std::cout << "SCROLL UNITS: " << frame_to_pixel(leftmost_frame) << " -- " << frame_to_pixel(rightmost_frame) - << " = " << frame_to_pixel(rightmost_frame) - frame_to_pixel(leftmost_frame) + std::cout << "SCROLL UNITS: " << sample_to_pixel(leftmost_frame) << " -- " << sample_to_pixel(rightmost_frame) + << " = " << sample_to_pixel(rightmost_frame) - sample_to_pixel(leftmost_frame) << std::endl; #endif |