From 6830d83236ae047eb077802cdb54eff5492928d3 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 6 Apr 2013 04:09:58 +0200 Subject: vtl: make videotimeline work with new cairo canvas timeline thumbnail display, moving (drag/drop) and zoom works. There still some crashes e.g. resizing the height of the timeline and with off-screen image buffering when zooming in. Likely due to concurrency issues: VideoImageFrame::exposeimg() and direct access of the pixbuf: "Assertion `!_bounding_box_dirty' failed." in canvas/item.cc:191 more work is needed.. --- gtk2_ardour/editor_rulers.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gtk2_ardour/editor_rulers.cc') diff --git a/gtk2_ardour/editor_rulers.cc b/gtk2_ardour/editor_rulers.cc index 5047feb1cb..dd13e153b5 100644 --- a/gtk2_ardour/editor_rulers.cc +++ b/gtk2_ardour/editor_rulers.cc @@ -791,13 +791,13 @@ Editor::update_ruler_visibility () #ifdef WITH_VIDEOTIMELINE if (ruler_video_action->get_active()) { - old_unit_pos = videotl_group->property_y(); + old_unit_pos = videotl_group->position().y; if (tbpos != old_unit_pos) { - videotl_group->move ( 0.0, tbpos - old_unit_pos); + videotl_group->move (ArdourCanvas::Duple (0.0, tbpos - old_unit_pos)); } - old_unit_pos = videotl_bar_group->property_y(); + old_unit_pos = videotl_bar_group->position().y; if (tbgpos != old_unit_pos) { - videotl_bar_group->move ( 0.0, tbgpos - old_unit_pos); + videotl_bar_group->move (ArdourCanvas::Duple (0.0, tbgpos - old_unit_pos)); } videotl_bar_group->show(); videotl_group->show(); -- cgit v1.2.3