if(overlayer) delete overlayer;
}
-const char* TimeFrontMain::plugin_title() { return N_("TimeFront"); }
+const char* TimeFrontMain::plugin_title() { return _("TimeFront"); }
int TimeFrontMain::is_realtime() { return 1; }
int TimeFrontMain::is_multichannel() { return 1; }
read_frame(framelist[0],
0,
start_position,
- frame_rate);
+ frame_rate,
+ 0);
this->input = framelist[0];
this->output = outframes[0];
need_reconfigure |= load_configuration();
if (get_total_buffers() != 2)
{
// FIXME, maybe this should go to some other notification area?
- printf("ERROR: TimeFront plugin - If you are using another track for timefront, you have to have it under shared effects\n");
+ printf(_("ERROR: TimeFront plugin - If you are using another track for timefront, you have to have it under shared effects\n"));
return 0;
}
if (outframes[0]->get_w() != outframes[1]->get_w() || outframes[0]->get_h() != outframes[1]->get_h())
{
- printf("Sizes of master track and timefront track do not match\n");
+ printf(_("Sizes of master track and timefront track do not match\n"));
return 0;
}
}
default:
{
- printf("TimeFront plugin error: ALPHA used, but project color model does not have alpha\n");
+ printf(_("TimeFront plugin error: ALPHA used, but project color model does not have alpha\n"));
return 1;
break;
}
read_frame(tfframe,
1,
start_position,
- frame_rate);
+ frame_rate,
+ 0);
if (config.track_usage == TimeFrontConfig::OTHERTRACK_INTENSITY)
{
switch (tfframe->get_color_model())
default:
{
- printf("TimeFront plugin error: ALPHA track used, but project color model does not have alpha\n");
+ printf(_("TimeFront plugin error: ALPHA track used, but project color model does not have alpha\n"));
return 1;
break;
}
}
} else
{
- printf("TimeFront plugin error: unsupported track_usage parameter\n");
+ printf(_("TimeFront plugin error: unsupported track_usage parameter\n"));
return 1;
}
}
read_frame(framelist[i],
0,
start_position - i,
- frame_rate);
+ frame_rate,
+ 0);
}
}