X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffile.h;h=454185ce196a7a3f2f54da005753e44a1cae12b6;hp=c86a1b4f72b1d9b8911798d1b297779de665ab7d;hb=b9fa786adcb3624582d1a63bd52b9179e9a8dadb;hpb=86c9537e0540010ff43b16feb4cd7de98409eba1 diff --git a/cinelerra-5.1/cinelerra/file.h b/cinelerra-5.1/cinelerra/file.h index c86a1b4f..454185ce 100644 --- a/cinelerra-5.1/cinelerra/file.h +++ b/cinelerra-5.1/cinelerra/file.h @@ -45,7 +45,6 @@ #include "preferences.inc" #include "samples.inc" #include "vframe.inc" -#include "packagingengine.h" // ======================================= include file types here @@ -56,7 +55,7 @@ class File { public: File(); - ~File(); + virtual ~File(); int probe(); // Get attributes for various file formats. @@ -238,6 +237,10 @@ public: // Used by read_frame. int colormodel_supported(int colormodel); + int get_cache_frame(VFrame *vframe, int64_t position); + void put_cache_frame(VFrame *frame, int64_t position, int use_copy); + int get_use_cache(); + // stubs for now static const char *compressiontostr(const char *codec) { return codec; } static const char *strtocompression(const char *string) { return string; } @@ -266,6 +269,8 @@ public: int bytes_per_sample(int bits); // Convert the bit descriptor into a byte count. // get record stream file descriptor int record_fd(); +// brender update video map + virtual int write_frame_done(int64_t position) { return 0; } Asset *asset; // Copy of asset since File outlives EDL FileBase *file; // virtual class for file type @@ -315,7 +320,7 @@ public: Preferences *preferences; int wr, rd; - static void init_cin_path(); + static void init_cin_env_vars(); static void get_exe_path(char *result, char *bnp=0); static void getenv_path(char *result, const char *path); static void setenv_path(const char *var, const char *path, int overwrite);