Plugin::Plugin(EDL *edl, Track *track, const char *title)
: Edit(edl, track)
{
- is_plugin = 1;
this->track = track;
this->plugin_set = 0;
strcpy(this->title, title);
show = 0;
on = 1;
gui_id = -1;
- keyframes = new KeyFrames(edl, track);
+ keyframes = new KeyFrames(edl, this);
keyframes->create_objects();
}
Plugin::Plugin(EDL *edl, PluginSet *plugin_set, const char *title)
: Edit(edl, plugin_set)
{
- is_plugin = 1;
this->track = plugin_set->track;
this->plugin_set = plugin_set;
strcpy(this->title, title);
show = 0;
on = 1;
gui_id = -1;
- keyframes = new KeyFrames(edl, track);
+ keyframes = new KeyFrames(edl, this);
keyframes->create_objects();
}
void Plugin::dump(FILE *fp)
{
- fprintf(fp," PLUGIN: type=%d title=\"%s\" on=%d track=%d plugin=%d gui_id=%d\n",
- plugin_type, title, on, shared_location.module, shared_location.plugin, gui_id);
+ fprintf(fp," PLUGIN: type=%d, id %d, orig_id %d, title=\"%s\" on=%d track=%d plugin=%d gui_id=%d\n",
+ plugin_type, id, orig_id, title, on, shared_location.module, shared_location.plugin, gui_id);
fprintf(fp," startproject %jd length %jd\n", startproject, length);
keyframes->dump(fp);