summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/runtime/gr_buffer.cc
diff options
context:
space:
mode:
authorTom Rondeau2010-11-06 14:17:04 -0400
committerTom Rondeau2010-11-06 14:17:04 -0400
commit20adc2d657d189cd07f9585aeb4cb213ffe0bb07 (patch)
tree079bfad1f1239108dcf2e4aa69351f89426c98dd /gnuradio-core/src/lib/runtime/gr_buffer.cc
parent6cc6925ec231897a2e46f3d7bfb52ba3aecfc492 (diff)
downloadgnuradio-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.cc5
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);
}