X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fedits.h;h=f851e605c98ceda8c7def1470fd8f9768e32da41;hb=f0b8954559086b9967ef01ea4f7d4c5358861059;hp=efd7f88e7f6c9729d66516ad4d94f08e470977d9;hpb=c63c2c2707e1b1145db2edd6824bd69f59341e15;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/edits.h b/cinelerra-5.1/cinelerra/edits.h index efd7f88e..f851e605 100644 --- a/cinelerra-5.1/cinelerra/edits.h +++ b/cinelerra-5.1/cinelerra/edits.h @@ -2,6 +2,7 @@ /* * CINELERRA * Copyright (C) 2008-2013 Adam Williams + * Copyright (C) 2003-2016 Cinelerra CV contributors * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -43,6 +44,7 @@ public: void equivalent_output(Edits *edits, int64_t *result); virtual void copy_from(Edits *edits); + virtual Edits& operator=(Edits& edits); // Insert edits from different EDL void insert_edits(Edits *edits, int64_t position, @@ -83,6 +85,8 @@ public: void paste_silence(int64_t start, int64_t end); // Returns the newly created edit Edit *create_silence(int64_t start, int64_t end); + double early_timecode(); + void align_timecodes(double offset); void resample(double old_rate, double new_rate); // Shift edits on or after position by distance @@ -106,6 +110,7 @@ public: // ==================================== accounting Edit* editof(int64_t position, int direction, int use_nudge); + Edit* get_edit(int id); // Return an edit if position is over an edit and the edit has a source file Edit* get_playable_edit(int64_t position, int use_nudge); // int64_t total_length(); @@ -118,6 +123,7 @@ public: int modify_handles(double oldposition, double newposition, int currentend, int edit_mode, int edit_edits, int edit_labels, int edit_plugins, int edit_autos, Edits *trim_edits, int group_id); + void update_idxbl_length(int id, int64_t du); virtual int optimize();