if(temp) delete temp;
}
-const char* _720to480Main::plugin_title() { return _("720 to 480"); }
+const char* _720to480Main::plugin_title() { return N_("720 to 480"); }
int _720to480Main::is_realtime() { return 0; }
double _720to480Main::get_framerate()
int result = 0;
if(!temp)
- temp = new VFrame(0,
- -1,
- output->get_w(),
- output->get_h(),
- output->get_color_model(),
- -1);
+ temp = new VFrame(output->get_w(), output->get_h(),
+ output->get_color_model(), 0);
if(config.direction == FORWARD)
{
void _720to480Main::save_data(KeyFrame *keyframe)
{
FileXML output;
- output.set_shared_output(keyframe->get_data(), MESSAGESIZE);
+ output.set_shared_output(keyframe->xbuf);
output.tag.set_title("720TO480");
output.tag.set_property("FIRST_FIELD", config.first_field);
output.tag.set_property("DIRECTION", config.direction);
void _720to480Main::read_data(KeyFrame *keyframe)
{
FileXML input;
- input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data()));
+ input.set_shared_input(keyframe->xbuf);
while(!input.read_tag())
{