renderer: don't process video footage if rendering audio

Fixes #1530
This commit is contained in:
itsmattkc
2021-04-12 15:28:33 +10:00
parent c48d2038d4
commit 6d0e188393
+5
View File
@@ -273,6 +273,11 @@ NodeValueTable RenderProcessor::GenerateBlockTable(const Track *track, const Tim
QVariant RenderProcessor::ProcessVideoFootage(const FootageJob &stream, const rational &input_time)
{
if (ticket_->property("type").value<RenderManager::TicketType>() != RenderManager::kTypeVideo) {
// Video cannot contribute to audio, so we do nothing here
return QVariant();
}
TexturePtr value = nullptr;
// Check the still frame cache. On large frames such as high resolution still images, uploading