[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/04: blocks: fixed issue #861: tagged_str
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/04: blocks: fixed issue #861: tagged_stream_align can miss tags |
Date: |
Tue, 8 Dec 2015 00:31:19 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit c04bef9624059ac663c5dc1a396ce53b873e95f1
Author: Lennart <address@hidden>
Date: Tue Dec 1 11:35:20 2015 +0100
blocks: fixed issue #861: tagged_stream_align can miss tags
---
gr-blocks/lib/tagged_stream_align_impl.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gr-blocks/lib/tagged_stream_align_impl.cc
b/gr-blocks/lib/tagged_stream_align_impl.cc
index e20c119..c71d038 100644
--- a/gr-blocks/lib/tagged_stream_align_impl.cc
+++ b/gr-blocks/lib/tagged_stream_align_impl.cc
@@ -70,7 +70,7 @@ namespace gr {
consume_each(ncp);
return ncp;
} else {
- get_tags_in_range(tags, 0, nitems_read(0), nitems_read(0) +
noutput_items, d_lengthtag);
+ get_tags_in_range(tags, 0, nitems_read(0), nitems_read(0) +
ninput_items[0], d_lengthtag);
if(tags.size() > 0){
d_have_sync = true;
consume_each( tags[0].offset - nitems_read(0) );