X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fplugin.C;h=dce1f5b7aaadc654b6385d406a0b6cf925893a35;hb=f5725c7e12def18fec49a295dad688652edaa4b3;hp=4a34141c5cd837dd8826f0ee07118f88cc9f5581;hpb=12d4e343f31707c899e6e4daa10c68b172433cff;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/plugin.C b/cinelerra-5.1/cinelerra/plugin.C index 4a34141c..dce1f5b7 100644 --- a/cinelerra-5.1/cinelerra/plugin.C +++ b/cinelerra-5.1/cinelerra/plugin.C @@ -40,7 +40,6 @@ 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); @@ -50,7 +49,7 @@ Plugin::Plugin(EDL *edl, Track *track, const char *title) show = 0; on = 1; gui_id = -1; - keyframes = new KeyFrames(edl, track); + keyframes = new KeyFrames(edl, this); keyframes->create_objects(); } @@ -58,7 +57,6 @@ Plugin::Plugin(EDL *edl, Track *track, const char *title) 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); @@ -68,7 +66,7 @@ Plugin::Plugin(EDL *edl, PluginSet *plugin_set, const char *title) show = 0; on = 1; gui_id = -1; - keyframes = new KeyFrames(edl, track); + keyframes = new KeyFrames(edl, this); keyframes->create_objects(); } @@ -579,8 +577,8 @@ void Plugin::shift(int64_t difference) 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);