X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fffmpeg.h;h=9e17d8b9024fda0a7b135175d78c6eb41f532c8c;hb=44f0242e0f313fd1b49675c697629b73dc260d21;hp=b4867b8eb1943879499d7a6ed33515d9533ff44f;hpb=f890683b11652fc31712acd0d7317a1b235a314e;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/ffmpeg.h b/cinelerra-5.1/cinelerra/ffmpeg.h index b4867b8e..9e17d8b9 100644 --- a/cinelerra-5.1/cinelerra/ffmpeg.h +++ b/cinelerra-5.1/cinelerra/ffmpeg.h @@ -259,6 +259,22 @@ public: int top_field_first; }; +class FFCodecRemap +{ +public: + FFCodecRemap(); + ~FFCodecRemap(); + const char *old_codec, *new_codec; +}; + +class FFCodecRemaps : public ArrayList +{ +public: + FFCodecRemaps() {} + int add(const char *val); + int update(AVCodecID &codec_id, AVCodec *&decoder); +}; + class FFMPEG : public Thread { public: static Mutex fflock; @@ -329,6 +345,10 @@ public: char *opt_video_filter; char *opt_audio_filter; char *opt_hw_dev; + char *opt_video_decoder; + char *opt_audio_decoder; + FFCodecRemaps video_codec_remaps; + FFCodecRemaps audio_codec_remaps; char file_format[BCTEXTLEN]; int fflags;