dumping_dialog: Add a line edit for the options

So that users can just paste a set of parameters they found elsewhere.
This commit is contained in:
zhupengfei 2020-02-22 11:18:55 +08:00
parent 0a4be71913
commit c38202bd30
No known key found for this signature in database
GPG key ID: DD129E108BD09378
3 changed files with 72 additions and 41 deletions

View file

@ -10,6 +10,8 @@ namespace Ui {
class DumpingDialog;
}
class QLineEdit;
class DumpingDialog : public QDialog {
Q_OBJECT
@ -26,12 +28,9 @@ private:
void SetConfiguration();
void OnToolButtonClicked();
void OpenOptionsDialog(const std::vector<VideoDumper::OptionInfo>& options,
std::string& current_value);
QLineEdit* line_edit);
std::unique_ptr<Ui::DumpingDialog> ui;
std::string format_options;
std::string video_encoder_options;
std::string audio_encoder_options;
QString last_path;