diff options
author | Josh Blum | 2012-11-01 03:33:04 -0700 |
---|---|---|
committer | Josh Blum | 2012-11-01 03:33:04 -0700 |
commit | 1581c3925a8d1e2057b9864f0bfe59e7f5fbedfb (patch) | |
tree | 5d34e663c07351737653c46c4cecb40e83101a3b /lib/block_task.cpp | |
parent | bbd292bdf0c8b7e3c582e0d9766f51f108a17172 (diff) | |
download | sandhi-1581c3925a8d1e2057b9864f0bfe59e7f5fbedfb.tar.gz sandhi-1581c3925a8d1e2057b9864f0bfe59e7f5fbedfb.tar.bz2 sandhi-1581c3925a8d1e2057b9864f0bfe59e7f5fbedfb.zip |
building gnuradio, some workarounds
Diffstat (limited to 'lib/block_task.cpp')
-rw-r--r-- | lib/block_task.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/block_task.cpp b/lib/block_task.cpp index be97af2..f3ddb04 100644 --- a/lib/block_task.cpp +++ b/lib/block_task.cpp @@ -224,6 +224,10 @@ void BlockActor::handle_task(void) } } + //workaround: + if (num_outputs) output_items[0].size() = work_noutput_items; + else input_items[0].size() = work_noutput_items; + //------------------------------------------------------------------ //-- the work //------------------------------------------------------------------ |