if(!frames[0])
{
- for(int i = 0; i < TOTAL_FRAMES; i++)
- {
- frames[i] = new VFrame(0,
- -1,
- frame->get_w(),
- frame->get_h(),
- frame->get_color_model(),
- -1);
+ for(int i = 0; i < TOTAL_FRAMES; i++) {
+ frames[i] = new VFrame(frame->get_w(), frame->get_h(),
+ frame->get_color_model(), 0);
}
}
-const char* Decimate::plugin_title() { return _("Decimate"); }
+const char* Decimate::plugin_title() { return N_("Decimate"); }
int Decimate::is_realtime() { return 1; }
NEW_WINDOW_MACRO(Decimate, DecimateWindow)
FileXML output;
// cause data to be stored directly in text
- output.set_shared_output(keyframe->get_data(), MESSAGESIZE);
+ output.set_shared_output(keyframe->xbuf);
output.tag.set_title("DECIMATE");
output.tag.set_property("INPUT_RATE", config.input_rate);
// output.tag.set_property("AVERAGED_FRAMES", config.averaged_frames);
{
FileXML input;
- input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data()));
+ input.set_shared_input(keyframe->xbuf);
while(!input.read_tag())
{