X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fedl.h;h=3b1d22538726dad9422534d3fcc430cd33b8f194;hb=078018dae12e5bdfc6c6f00e28a732be06c0e3c9;hp=12d08afed7a7eb1ae4afa048861a9d071521dfd5;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/edl.h b/cinelerra-5.1/cinelerra/edl.h index 12d08afe..3b1d2253 100644 --- a/cinelerra-5.1/cinelerra/edl.h +++ b/cinelerra-5.1/cinelerra/edl.h @@ -97,6 +97,8 @@ public: // Convert position to frames if cursor alignment is enabled double align_to_frame(double position, int round); +// increase track w/h to at least session w/h + void retrack(); // Scale all sample values since everything is locked to audio void rechannel(); void resample(double old_rate, double new_rate, int data_type); @@ -118,10 +120,10 @@ public: // Return the number of seconds from the beginning of this which are // equivalent to the argument. // If they're completely equivalent, -1 is returned; -// This is used by BRender. +// This is used by BRender + BatchRender. double equivalent_output(EDL *edl); // Set project path for filename prefixes in the assets - void set_path(char *path); + void set_path(const char *path); // Set points and labels void set_inpoint(double position); void set_outpoint(double position); @@ -130,6 +132,9 @@ public: // Add assets from the src to the destination void update_assets(EDL *src); void optimize(); +// return next/prev edit starting from position + double next_edit(double position); + double prev_edit(double position); // Debug int dump(FILE *fp=stdout); static int next_id();