summaryrefslogtreecommitdiffstats
path: root/encodemp4job.h
blob: d82bbd072091e6e8a153ac7d9264bee15e8bd181 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef ENCODEMP4JOB_H
#define ENCODEMP4JOB_H

#include "job.h"
#include "video.h"

class EncodeMP4Job : public Job
{
	Q_OBJECT
public:
	EncodeMP4Job(Video *video, QString encodePath, QString imagePath);
	Video::Jobs jobType() const;
protected:
	bool executeJob();
	QWidget* gui();
private:
	QString m_encodePath;
	QString m_imagePath;
signals:
	void encodePercentage(float percentage);
};

#endif // ENCODEMP4JOB_H