delete nested_renderengine;
nested_renderengine = 0;
}
-
- if( !nested_command ) {
+ if( !nested_command )
nested_command = new TransportCommand;
- }
-
-
- if( !nested_renderengine ) {
- nested_command->command = command;
- nested_command->get_edl()->copy_all(nested_edl);
- nested_command->change_type = CHANGE_ALL;
- nested_command->realtime = renderengine->command->realtime;
- nested_renderengine = new RenderEngine(0, get_preferences(), 0, 1);
- nested_renderengine->set_vcache(get_cache());
- nested_renderengine->arm_command(nested_command);
- }
+ nested_command->command = command;
+ nested_command->get_edl()->copy_all(nested_edl);
+ nested_command->change_type = CHANGE_ALL;
+ nested_command->realtime = renderengine->command->realtime;
+ nested_renderengine = new RenderEngine(0, get_preferences(), 0, 1);
+ nested_renderengine->set_vcache(get_cache());
+ nested_renderengine->arm_command(nested_command);
}
else {
FloatAutos *speed_autos = (FloatAutos*)track->automation->autos[AUTOMATION_SPEED];
speed_position += speed_autos->automation_integral(edit_startproject,
direction_position-edit_startproject, PLAY_FORWARD);
-//printf("VModule::import_frame %d %lld %lld\n", __LINE__, position, (int64_t)speed_position);
+//printf("VModule::import_frame %d %jd %jd\n", __LINE__, position, (int64_t)speed_position);
position = (int64_t)speed_position;
}
VEdit* previous_edit = 0;
//printf("VModule::render %d %p %ld %d\n", __LINE__, current_edit, start_position_project, direction);
+ Plugin *transition = get_edl()->tracks->plugin_exists(transition_id);
if( debug_render )
printf(" VModule::render %d %d %jd %s transition=%p opengl=%d current_edit=%p output=%p\n",
__LINE__, use_nudge, start_position_project, track->title,