diff options
Diffstat (limited to 'gtk2_ardour/video_image_frame.cc')
-rw-r--r-- | gtk2_ardour/video_image_frame.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/video_image_frame.cc b/gtk2_ardour/video_image_frame.cc index b7f7152179..b10b546857 100644 --- a/gtk2_ardour/video_image_frame.cc +++ b/gtk2_ardour/video_image_frame.cc @@ -74,7 +74,7 @@ VideoImageFrame::~VideoImageFrame () void VideoImageFrame::set_position (framepos_t sample) { - double new_unit_position = editor.sample_to_pixel (frame); + double new_unit_position = editor.sample_to_pixel (sample); image->move (ArdourCanvas::Duple (new_unit_position - unit_position, 0.0)); sample_position = sample; unit_position = new_unit_position; |