no need to lock twice on siblings

This commit is contained in:
itsmattkc
2019-09-13 12:47:59 +10:00
parent 5ab622ba81
commit c48787cdab
5 changed files with 41 additions and 36 deletions
@@ -36,7 +36,7 @@ public:
const olive::PixelFormat& format,
const olive::RenderMode& mode);
bool Queue(const NodeDependency &dep, bool wait);
bool Queue(const NodeDependency &dep, bool wait, bool sibling);
public slots:
virtual void Cancel() override;
@@ -62,6 +62,8 @@ private:
QAtomicInt cancelled_;
bool sibling_;
};
using RendererProcessThreadPtr = std::shared_ptr<RendererProcessThread>;