diff options
-rw-r--r-- | gr-qtgui/lib/time_sink_c_impl.cc | 2 | ||||
-rw-r--r-- | gr-qtgui/lib/time_sink_f_impl.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/lib/time_sink_c_impl.cc b/gr-qtgui/lib/time_sink_c_impl.cc index e557f2b4ee..84579528a4 100644 --- a/gr-qtgui/lib/time_sink_c_impl.cc +++ b/gr-qtgui/lib/time_sink_c_impl.cc @@ -548,7 +548,7 @@ int time_sink_c_impl::work(int noutput_items, uint64_t nr = nitems_read(n); std::vector<gr::tag_t> tags; - get_tags_in_range(tags, n, nr, nr + nitems); + get_tags_in_range(tags, n, nr, nr + nitems + 1); for (size_t t = 0; t < tags.size(); t++) { tags[t].offset = tags[t].offset - nr + (d_index - d_start - 1); } diff --git a/gr-qtgui/lib/time_sink_f_impl.cc b/gr-qtgui/lib/time_sink_f_impl.cc index 7bad006d16..f8b179c985 100644 --- a/gr-qtgui/lib/time_sink_f_impl.cc +++ b/gr-qtgui/lib/time_sink_f_impl.cc @@ -539,7 +539,7 @@ int time_sink_f_impl::work(int noutput_items, uint64_t nr = nitems_read(idx); std::vector<gr::tag_t> tags; - get_tags_in_range(tags, idx, nr, nr + nitems); + get_tags_in_range(tags, idx, nr, nr + nitems + 1); for (size_t t = 0; t < tags.size(); t++) { tags[t].offset = tags[t].offset - nr + (d_index - d_start - 1); } |