Blame SOURCES/0003-SimpleModule-set-output-chunk-framecount-after-pull.patch

852130
From 822b732fd31ffcb78f6920001e9b1fbd815fa712 Mon Sep 17 00:00:00 2001
852130
From: Wim Taymans <wtaymans@redhat.com>
852130
Date: Thu, 27 Sep 2018 12:11:12 +0200
852130
Subject: [PATCH 3/3] SimpleModule: set output chunk framecount after pull
852130
852130
After pulling the data, set the output chunk to the amount of
852130
frames we pulled so that the next module in the chain has the correct
852130
frame count.
852130
852130
Fixes #50 and #51
852130
---
852130
 libaudiofile/modules/SimpleModule.cpp | 1 +
852130
 1 file changed, 1 insertion(+)
852130
852130
diff --git a/libaudiofile/modules/SimpleModule.cpp b/libaudiofile/modules/SimpleModule.cpp
852130
index 2bae1eb..e87932c 100644
852130
--- a/libaudiofile/modules/SimpleModule.cpp
852130
+++ b/libaudiofile/modules/SimpleModule.cpp
852130
@@ -26,6 +26,7 @@
852130
 void SimpleModule::runPull()
852130
 {
852130
 	pull(m_outChunk->frameCount);
852130
+	m_outChunk->frameCount = m_inChunk->frameCount;
852130
 	run(*m_inChunk, *m_outChunk);
852130
 }
852130
 
852130
-- 
852130
2.17.1
852130