purge file_cache when starting rev read cache burst
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / ffmpeg.h
index 1a514e1d57f8f58a4a3124dc411f0e2d408df065..9ceef1547776ce97a505050dc291a318d3d6298a 100644 (file)
@@ -138,7 +138,7 @@ public:
        int64_t seek_pos, curr_pos;
        int fidx;
        int reading, writing;
-       int seeked, eof;
+       int seeking, seeked, eof;
 
        int hw_pixfmt;
        AVBufferRef *hw_device_ctx;
@@ -368,6 +368,11 @@ public:
        static double to_secs(int64_t time, AVRational time_base);
        int info(char *text, int len);
 
+       VFrame *new_cache_frame(VFrame *vframe, int64_t position);
+       void put_cache_frame();
+       int get_use_cache();
+       void purge_cache();
+
        int init_decoder(const char *filename);
        int open_decoder();
        int init_encoder(const char *filename);