reimplemented color management and alpha association in new renderer system
Color management is now as functional as it was before.
This commit is contained in:
@@ -5,7 +5,8 @@ AudioWorker::AudioWorker(DecoderCache *decoder_cache, QObject *parent) :
|
||||
{
|
||||
}
|
||||
|
||||
void AudioWorker::FrameToValue(FramePtr frame, NodeValueTable *table)
|
||||
void AudioWorker::FrameToValue(StreamPtr stream, FramePtr frame, NodeValueTable *table)
|
||||
{
|
||||
Q_UNUSED(stream)
|
||||
table->Push(NodeParam::kSamples, frame->ToByteArray());
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ public:
|
||||
AudioWorker(DecoderCache* decoder_cache, QObject* parent = nullptr);
|
||||
|
||||
protected:
|
||||
virtual void FrameToValue(FramePtr frame, NodeValueTable* table) override;
|
||||
virtual void FrameToValue(StreamPtr stream, FramePtr frame, NodeValueTable* table) override;
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user