use QVector instead of QList for block cache

This commit is contained in:
itsmattkc
2021-01-09 10:41:13 +11:00
parent 441a459774
commit 3337be07e5
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ NodeValueTable RenderProcessor::GenerateBlockTable(const TrackOutput *track, con
const AudioParams& audio_params = ticket_->property("aparam").value<AudioParams>();
QList<Block*> active_blocks = track->BlocksAtTimeRange(range);
QVector<Block*> active_blocks = track->BlocksAtTimeRange(range);
// All these blocks will need to output to a buffer so we create one here
SampleBufferPtr block_range_buffer = SampleBuffer::CreateAllocated(audio_params,