X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffilebase.h;h=3fb8be42087ac8195bc442357355cbaeeb2e35c7;hb=255afe5bf50d8e2d10075c0b8ab0f88efbe91570;hp=3555e1e267f9a2f0bf69c0c1d7ac73bf16cd99e0;hpb=190b4810ec184c74ceab3fcd6faf09a91c92c53c;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/filebase.h b/cinelerra-5.1/cinelerra/filebase.h index 3555e1e2..3fb8be42 100644 --- a/cinelerra-5.1/cinelerra/filebase.h +++ b/cinelerra-5.1/cinelerra/filebase.h @@ -26,6 +26,7 @@ #include "assets.inc" #include "bccmodels.h" #include "edit.inc" +#include "edl.inc" #include "ffmpeg.inc" #include "guicast.h" #include "file.inc" @@ -54,27 +55,15 @@ public: friend class FileList; friend class FrameWriter; - - - void get_mode(char *mode, int rd, int wr); void reset_parameters(); - - - virtual void get_parameters(BC_WindowBase *parent_window, - Asset *asset, - BC_WindowBase **format_window, - int audio_options, - int video_options, - int lock_compressor) {}; - - - 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 + virtual int get_best_colormodel(int driver, int vstream); + virtual int open_file(int rd, int wr) { return 1; } virtual int close_file(); virtual int close_file_derived() { return 0; } @@ -127,6 +116,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