renderer: handle null samples on tempoprocessor

Fixes #1862
This commit is contained in:
itsmattkc
2022-04-11 18:38:10 -07:00
parent c073fb418f
commit b426e8f8a0
+5 -3
View File
@@ -312,9 +312,11 @@ NodeValueTable RenderProcessor::GenerateBlockTable(const Track *track, const Tim
packed = tp.Pull();
tp.Close();
PlanarProcessor planar;
planar.Open(samples_from_this_block->audio_params());
samples_from_this_block = planar.Convert(packed);
if (!packed.isEmpty()) {
PlanarProcessor planar;
planar.Open(samples_from_this_block->audio_params());
samples_from_this_block = planar.Convert(packed);
}
}
} else {
// Multiply time