export: allow selecting output pixel format

This commit is contained in:
itsmattkc
2020-07-24 14:45:27 +10:00
parent 86b66004b0
commit 5235975d6d
11 changed files with 183 additions and 55 deletions
+3
View File
@@ -51,6 +51,7 @@ public:
void set_video_max_bit_rate(const int64_t& rate);
void set_video_buffer_size(const int64_t& sz);
void set_video_threads(const int& threads);
void set_video_pix_fmt(const QString& s);
const QString& filename() const;
@@ -62,6 +63,7 @@ public:
const int64_t& video_max_bit_rate() const;
const int64_t& video_buffer_size() const;
const int& video_threads() const;
const QString& video_pix_fmt() const;
bool audio_enabled() const;
const ExportCodec::Codec &audio_codec() const;
@@ -83,6 +85,7 @@ private:
int64_t video_max_bit_rate_;
int64_t video_buffer_size_;
int video_threads_;
QString video_pix_fmt_;
bool audio_enabled_;
ExportCodec::Codec audio_codec_;