diff options
author | Tom Rondeau | 2010-11-06 14:17:04 -0400 |
---|---|---|
committer | Tom Rondeau | 2010-11-06 14:17:04 -0400 |
commit | 20adc2d657d189cd07f9585aeb4cb213ffe0bb07 (patch) | |
tree | 079bfad1f1239108dcf2e4aa69351f89426c98dd /gnuradio-core/src/lib/runtime/gr_buffer.cc | |
parent | 6cc6925ec231897a2e46f3d7bfb52ba3aecfc492 (diff) | |
download | gnuradio-20adc2d657d189cd07f9585aeb4cb213ffe0bb07.tar.gz gnuradio-20adc2d657d189cd07f9585aeb4cb213ffe0bb07.tar.bz2 gnuradio-20adc2d657d189cd07f9585aeb4cb213ffe0bb07.zip |
Because tags can be appended from upstream, they are not consecutive in time, so we need to cycle through them all.
Diffstat (limited to 'gnuradio-core/src/lib/runtime/gr_buffer.cc')
-rw-r--r-- | gnuradio-core/src/lib/runtime/gr_buffer.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_buffer.cc b/gnuradio-core/src/lib/runtime/gr_buffer.cc index 9048d57a4..8387a3168 100644 --- a/gnuradio-core/src/lib/runtime/gr_buffer.cc +++ b/gnuradio-core/src/lib/runtime/gr_buffer.cc @@ -274,11 +274,6 @@ gr_buffer_reader::get_tags_in_range(gr_uint64 abs_start, while(itr != d_buffer->get_tags_end()) { item_time = pmt::pmt_to_uint64(pmt::pmt_tuple_ref(*itr, 0)); - // items are pushed onto list in sequential order; stop if we're past end - if(item_time > abs_end) { - break; - } - if((item_time >= abs_start) && (item_time <= abs_end)) { found_items.push_back(*itr); } |