for(int i = reuse; i < new_allocation; i++)
{
- new_buffer[i] = new VFrame(0,
- -1,
- input->get_w(),
- input->get_h(),
- PluginVClient::project_color_model,
- -1);
+ new_buffer[i] = new VFrame(input->get_w(), input->get_h(),
+ PluginVClient::project_color_model, 0);
}
for(int i = reuse; i < allocation; i++)
return 1;
}
-const char* DelayVideo::plugin_title() { return _("Delay Video"); }
+const char* DelayVideo::plugin_title() { return N_("Delay Video"); }
LOAD_CONFIGURATION_MACRO(DelayVideo, DelayVideoConfig)
NEW_WINDOW_MACRO(DelayVideo, DelayVideoWindow)
void DelayVideo::save_data(KeyFrame *keyframe)
{
FileXML output;
- output.set_shared_output(keyframe->get_data(), MESSAGESIZE);
+ output.set_shared_output(keyframe->xbuf);
output.tag.set_title("DELAYVIDEO");
output.tag.set_property("LENGTH", (double)config.length);
void DelayVideo::read_data(KeyFrame *keyframe)
{
FileXML input;
- input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data()));
+ input.set_shared_input(keyframe->xbuf);
int result = 0;
while(!result)