diff options
author | Robin Gareus <robin@gareus.org> | 2013-04-06 04:09:58 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-04-06 04:10:27 +0200 |
commit | 6830d83236ae047eb077802cdb54eff5492928d3 (patch) | |
tree | 94dcc6fc53c6127731a13ac179d9c3e76577f5cd /gtk2_ardour/editor_rulers.cc | |
parent | 486edf1680ab8837bdf4af9fcc07ec383c7354a0 (diff) |
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..
Diffstat (limited to 'gtk2_ardour/editor_rulers.cc')
-rw-r--r-- | gtk2_ardour/editor_rulers.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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(); |