X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fasset.h;h=30523acdb7ae074927779ebd31ee619b56a56882;hb=fa7f91658c01ba88aab006beff8b167a4bbb7085;hp=8fe38692f4910824840d397f8d49a888bcbb2b62;hpb=5aad2133f228b736f033d6c48e1629078b858286;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/asset.h b/cinelerra-5.0/cinelerra/asset.h index 8fe38692..30523acd 100644 --- a/cinelerra-5.0/cinelerra/asset.h +++ b/cinelerra-5.0/cinelerra/asset.h @@ -30,6 +30,7 @@ #include "filexml.inc" #include "indexable.h" #include "indexfile.inc" +#include "indexstate.inc" #include "linklist.h" #include "pluginserver.inc" @@ -79,7 +80,6 @@ public: // Executed during index building only - void update_index(Asset *asset); int equivalent(Asset &asset, int test_audio, int test_video); @@ -96,17 +96,11 @@ public: int read_index(FileXML *xml); void reset_audio(); void reset_video(); - void reset_index(); // When the index file is wrong, reset the asset values int reset_timecode(); // Output path is the path of the output file if name truncation is desired. // It is a "" if; complete names should be used. - int write(FileXML *file, - int include_index, - const char *output_path); -// Write the index data and asset info. Used by IndexThread. - int write_index(const char *path, int data_bytes); - + int write(FileXML *file, int include_index, const char *output_path); // For Indexable int get_audio_channels(); @@ -126,7 +120,6 @@ public: int write_audio(FileXML *xml); int write_video(FileXML *xml); int write_index(FileXML *xml); - int update_path(char *new_path);