summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJosh Blum2012-11-18 17:20:03 -0800
committerJosh Blum2012-11-18 17:20:03 -0800
commit2918d7145bfc1bed64f1ec4939a9856a8175aba8 (patch)
tree3abb42cd938fb3568b6b6dfd19f71952d66f809b /lib
parent27d6d637801ed6009f1cef968c4af95e3a6d9e83 (diff)
downloadsandhi-2918d7145bfc1bed64f1ec4939a9856a8175aba8.tar.gz
sandhi-2918d7145bfc1bed64f1ec4939a9856a8175aba8.tar.bz2
sandhi-2918d7145bfc1bed64f1ec4939a9856a8175aba8.zip
fix for inline input buffer impl
Diffstat (limited to 'lib')
-rw-r--r--lib/block_task.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/block_task.cpp b/lib/block_task.cpp
index 168834d..0ec66ba 100644
--- a/lib/block_task.cpp
+++ b/lib/block_task.cpp
@@ -153,7 +153,8 @@ void BlockActor::handle_task(void)
//copy buffer reference but push with zero length, same offset
SBuffer new_obuff = buff;
new_obuff.length = 0;
- this->output_queues.push_front(i, new_obuff); //you got inlined!
+ this->flush_output(output_inline_index);
+ this->output_queues.push_front(output_inline_index, new_obuff); //you got inlined!
output_inline_index++; //done do this output port again
}
}