Changeset View
Changeset View
Standalone View
Standalone View
src/project/jobs/meltjob.h
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | 45 | public: | |||
---|---|---|---|---|---|
49 | * @param producerParams the parameters that will be passed to the Mlt::Producer. The "producer" value will be used to initialize the producer. | 49 | * @param producerParams the parameters that will be passed to the Mlt::Producer. The "producer" value will be used to initialize the producer. | ||
50 | * should contain the in and out values (in=0, out=-1 to process all clip) | 50 | * should contain the in and out values (in=0, out=-1 to process all clip) | ||
51 | * @param filterParams the parameters that will be passed to the (optional) Mlt::Filter attached to the producer. The "filter" value | 51 | * @param filterParams the parameters that will be passed to the (optional) Mlt::Filter attached to the producer. The "filter" value | ||
52 | * should contain the MLT's filter name. | 52 | * should contain the MLT's filter name. | ||
53 | * @param consumerParams the parameters passed to the Mlt::Consumer. The "consumer" value should hold the consumer's initialization string. | 53 | * @param consumerParams the parameters passed to the Mlt::Consumer. The "consumer" value should hold the consumer's initialization string. | ||
54 | @param extraParams these parameters can be used to further affect the Job handling. | 54 | @param extraParams these parameters can be used to further affect the Job handling. | ||
55 | */ | 55 | */ | ||
56 | MeltJob(ClipType cType, const QString &id, const QMap<QString, QString> &producerParams, const QMap<QString, QString> &filterParams, const QMap<QString, QString> &consumerParams, const stringMap &extraParams = stringMap()); | 56 | MeltJob(ClipType cType, const QString &id, const QMap<QString, QString> &producerParams, const QMap<QString, QString> &filterParams, const QMap<QString, QString> &consumerParams, const stringMap &extraParams = stringMap()); | ||
57 | virtual ~ MeltJob(); | 57 | ~ MeltJob() override; | ||
58 | /** @brief Returns the file path that will be written by this Mlt job. Empty when no file is written. */ | 58 | /** @brief Returns the file path that will be written by this Mlt job. Empty when no file is written. */ | ||
59 | const QString destination() const Q_DECL_OVERRIDE; | 59 | const QString destination() const Q_DECL_OVERRIDE; | ||
60 | /** @brief Start processing the job. */ | 60 | /** @brief Start processing the job. */ | ||
61 | void startJob() Q_DECL_OVERRIDE; | 61 | void startJob() Q_DECL_OVERRIDE; | ||
62 | /** @brief These properties can be used to undo the action that launched this job. */ | 62 | /** @brief These properties can be used to undo the action that launched this job. */ | ||
63 | stringMap cancelProperties() Q_DECL_OVERRIDE; | 63 | stringMap cancelProperties() Q_DECL_OVERRIDE; | ||
64 | /** @brief When true, this will tell the JobManager to add the @destination() file to the project Bin. */ | 64 | /** @brief When true, this will tell the JobManager to add the @destination() file to the project Bin. */ | ||
65 | bool addClipToProject; | 65 | bool addClipToProject; | ||
Show All 27 Lines |