UI: Add option to auto remux

This commit is contained in:
cg2121
2017-05-08 06:53:35 -05:00
committed by Clayton Groeneveld
parent 14ae6351d4
commit 2fedcab987
9 changed files with 395 additions and 281 deletions

View File

@@ -56,12 +56,18 @@ class OBSRemux : public QDialog {
virtual void closeEvent(QCloseEvent *event) override;
virtual void reject() override;
bool autoRemux;
QString autoRemuxFile;
public:
explicit OBSRemux(const char *recPath, QWidget *parent = nullptr);
explicit OBSRemux(const char *recPath, QWidget *parent = nullptr,
bool autoRemux = false);
virtual ~OBSRemux() override;
using job_t = std::shared_ptr<struct media_remux_job>;
void AutoRemux(QString inFile, QString outFile);
protected:
void dropEvent(QDropEvent *ev);
void dragEnterEvent(QDragEnterEvent *ev);