X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Ffilebase.h;h=1fc58c0b28b99260926f7a75ab2a7f6da444feff;hb=2451d3174f3b64d3ce4e311b125813cf2881eca4;hp=db9e5b06ffac1b7db93b6d992a35210ee0a27931;hpb=5820b5f022aeec75ec03f7dd0121aa8a3d7f7590;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/filebase.h b/cinelerra-5.1/cinelerra/filebase.h index db9e5b06..1fc58c0b 100644 --- a/cinelerra-5.1/cinelerra/filebase.h +++ b/cinelerra-5.1/cinelerra/filebase.h @@ -30,6 +30,8 @@ #include "guicast.h" #include "file.inc" #include "filelist.inc" +#include "indexfile.inc" +#include "mainprogress.inc" #include "overlayframe.inc" #include "strategies.inc" #include "vframe.inc" @@ -69,7 +71,7 @@ public: - virtual int get_index(char *index_path) { return 1; } + virtual int get_index(IndexFile *index_file, MainProgressBar *progress_bar) { return -1; } virtual int check_header() { return 0; } // Test file to see if it is of this type. virtual int reset_parameters_derived() { return 0; } virtual int read_header() { return 1; } // WAV files for getting header @@ -125,6 +127,7 @@ public: virtual int colormodel_supported(int colormodel) { return BC_RGB888; } // This file can copy compressed frames directly from the asset virtual int can_copy_from(Asset *asset, int64_t position) { return 0; } + virtual int can_scale_input() { return 0; } virtual int get_render_strategy(ArrayList* render_strategies) { return VRENDER_VPIXEL; } // Manages an audio history buffer