int Track::blade(double position)
{
- int64_t start = to_units(position, 1);
+ int64_t start = to_units(position, 0);
Edit *edit = edits->split_edit(start);
if( !edit ) return 1;
edit->hard_left = 1;
return (double)position;
}
+int64_t Track::frame_align(int64_t position, int round)
+{
+ if( data_type != TRACK_VIDEO && edl->session->cursor_on_frames )
+ position = to_units(edl->align_to_frame(from_units(position), round), round);
+ return position;
+}
+
int Track::plugin_exists(Plugin *plugin)
{
for(int number = 0; number < plugin_set.size(); number++)