]> git.sesse.net Git - kdenlive/blobdiff - src/projecttree/abstractclipjob.h
Speed up automatic scene detection (still very slow but better)
[kdenlive] / src / projecttree / abstractclipjob.h
index 29dc5762ae23769b1b7763837c67810f39fd78e1..ccd862e99e26c219da79f72eef4c5c5af3ebe164 100644 (file)
@@ -37,9 +37,7 @@ public:
     CLIPTYPE clipType;
     JOBTYPE jobType;
     CLIPJOBSTATUS jobStatus;
-    QString m_clipId;
     QString description;
-    bool addClipToProject;
     bool replaceClip;
     const QString clipId() const;
     const QString errorMessage() const;
@@ -52,16 +50,19 @@ public:
     virtual const QString statusMessage();
     /** @brief Returns true if only one instance of this job can be run on a clip. */
     virtual bool isExclusive();
+    bool addClipToProject() const;
+    void setAddClipToProject(bool add);
     
 protected:
+    QString m_clipId;
     QString m_errorMessage;
     QString m_logDetails;
+    bool m_addClipToProject;
     QProcess *m_jobProcess;
     
 signals:
     void jobProgress(QString, int, int);
     void cancelRunningJob(const QString, stringMap);
-    void gotFilterJobResults(const QString &id, int startPos, int track, const QString &filterName, stringMap params);
 };