update po files, plus a few fixes and improvements
[goodguy/history.git] / cinelerra-5.1 / cinelerra / automation.C
index b7c04bdf6801066ef39e672781b73747716d6aab..1ce714fbbf715f38985c6ca58624b48df15464a7 100644 (file)
@@ -78,6 +78,9 @@ int Automation::autogrouptype(int autoidx, Track *track)
                case AUTOMATION_PROJECTOR_Z:
                        autogrouptype = AUTOGROUPTYPE_ZOOM;
                        break;
+               case AUTOMATION_SPEED:
+                       autogrouptype = AUTOGROUPTYPE_SPEED;
+                       break;
                case AUTOMATION_FADE:
                        if (track->data_type == TRACK_AUDIO)
                                autogrouptype = AUTOGROUPTYPE_AUDIO_FADE;
@@ -97,8 +100,6 @@ void Automation::create_objects()
        autos[AUTOMATION_MUTE]->create_objects();
        autos[AUTOMATION_MUTE]->autoidx = AUTOMATION_MUTE;
        autos[AUTOMATION_MUTE]->autogrouptype = AUTOGROUPTYPE_INT255;
-       autos[AUTOMATION_SPEED] = new FloatAutos(edl, track, 1.0);
-       autos[AUTOMATION_SPEED]->create_objects();
 }
 
 Automation& Automation::operator=(Automation& automation)