summaryrefslogtreecommitdiff
path: root/gtk2_ardour/video_image_frame.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-16 21:39:24 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-16 21:39:24 -0400
commitc6d5b2ce6d74f36d01dae8fd3602b73142ca5d87 (patch)
treee787f55366fc7584850ffbc4b9f559e377188050 /gtk2_ardour/video_image_frame.cc
parent3beadec936d3350a20f816bde608d5cc6e1b2415 (diff)
fix typo
Diffstat (limited to 'gtk2_ardour/video_image_frame.cc')
-rw-r--r--gtk2_ardour/video_image_frame.cc2
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;