work on decoder classes
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
NodeMedia::NodeMedia(NodeGraph* c) :
|
||||
Node(c),
|
||||
media_(nullptr),
|
||||
buffer_(c->memory_cache())
|
||||
buffer_(c->memory_cache()),
|
||||
decoder_(nullptr)
|
||||
{
|
||||
matrix_input_ = new NodeIO(this, "matrix", tr("Matrix"), true, false);
|
||||
matrix_input_->AddAcceptedNodeInput(olive::nodes::kMatrix);
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "nodes/node.h"
|
||||
#include "rendering/memorycache.h"
|
||||
#include "project/media.h"
|
||||
#include "decoders/decoder.h"
|
||||
|
||||
/**
|
||||
* @brief The NodeMedia class
|
||||
@@ -46,6 +47,9 @@ private:
|
||||
// Texture buffer
|
||||
// TODO Probable cache point
|
||||
MemoryCache::Reference buffer_;
|
||||
|
||||
// Decoder
|
||||
DecoderPtr decoder_;
|
||||
};
|
||||
|
||||
#endif // MEDIANODE_H
|
||||
|
||||
Reference in New Issue
Block a user