delete temp;
}
-const char* ZoomMain::plugin_title() { return _("Zoom"); }
+const char* ZoomMain::plugin_title() { return N_("Zoom"); }
int ZoomMain::is_video() { return 1; }
int ZoomMain::is_transition() { return 1; }
int ZoomMain::uses_gui() { return 1; }
if(is_before)
{
- if(!temp) temp = new VFrame(outgoing->get_w(),
- outgoing->get_h(),
- outgoing->get_color_model());
+ if(!temp) temp = new VFrame(outgoing->get_w(), outgoing->get_h(),
+ outgoing->get_color_model(), 0);
temp->clear_frame();
- overlayer->overlay(temp,
- outgoing,
- in_x,
- in_y,
- in_x + in_w,
- in_y + in_h,
- 0,
- 0,
- temp->get_w(),
- temp->get_h(),
- 1.0,
- TRANSFER_REPLACE,
- CUBIC_LINEAR);
+ overlayer->overlay(temp, outgoing,
+ in_x, in_y, in_x + in_w, in_y + in_h,
+ 0, 0, temp->get_w(), temp->get_h(),
+ 1.0, TRANSFER_REPLACE, CUBIC_LINEAR);
outgoing->copy_from(temp);
}
else
{
outgoing->clear_frame();
- overlayer->overlay(outgoing,
- incoming,
- in_x,
- in_y,
- in_x + in_w,
- in_y + in_h,
- 0,
- 0,
- temp->get_w(),
- temp->get_h(),
- 1.0,
- TRANSFER_REPLACE,
- CUBIC_LINEAR);
+ overlayer->overlay(outgoing, incoming,
+ in_x, in_y, in_x + in_w, in_y + in_h,
+ 0, 0, temp->get_w(), temp->get_h(),
+ 1.0, TRANSFER_REPLACE, CUBIC_LINEAR);
}
return 0;