X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fmodules%2Fmod_ffmpeg%2Ftrgt_ffmpeg.h;h=d723bae4029262a95d052b291241002fdab8cc89;hb=e6b894ac0b503008a3e42049aed30d116db28630;hp=c5fc1ae34e71cf910f06f20a59c3274042da21b6;hpb=a095981e18cc37a8ecc7cd237cc22b9c10329264;p=synfig.git diff --git a/synfig-core/src/modules/mod_ffmpeg/trgt_ffmpeg.h b/synfig-core/src/modules/mod_ffmpeg/trgt_ffmpeg.h index c5fc1ae..d723bae 100644 --- a/synfig-core/src/modules/mod_ffmpeg/trgt_ffmpeg.h +++ b/synfig-core/src/modules/mod_ffmpeg/trgt_ffmpeg.h @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2010 Diego Barrios Romero ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -31,6 +32,7 @@ #include #include +#include #include #include @@ -40,6 +42,8 @@ /* === C L A S S E S & S T R U C T S ======================================= */ +class TargetParam; + class ffmpeg_trgt : public synfig::Target_Scanline { SYNFIG_TARGET_MODULE_EXT @@ -51,8 +55,11 @@ private: synfig::String filename; unsigned char *buffer; synfig::Color *color_buffer; + std::string video_codec; + int bitrate; public: - ffmpeg_trgt(const char *filename); + ffmpeg_trgt(const char *filename, + const synfig::TargetParam& params); virtual bool set_rend_desc(synfig::RendDesc *desc); virtual bool init();