decoder/renderer: use memory cache and single decoder to optimize frames for

cycles
This commit is contained in:
itsmattkc
2020-02-20 15:32:12 +11:00
parent 71048f40a8
commit 2145efa2a0
19 changed files with 150 additions and 135 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ class RenderWorker : public QObject, public CancelableObject
{
Q_OBJECT
public:
RenderWorker(QObject* parent = nullptr);
RenderWorker(DecoderCache* decoder_cache, QObject* parent = nullptr);
DISABLE_COPY_MOVE(RenderWorker)
@@ -62,7 +62,7 @@ private:
bool started_;
DecoderCache decoder_cache_;
DecoderCache* decoder_cache_;
NodeDependency path_;