diff options
author | Jason Uher <jasonuher@users.noreply.github.com> | 2021-07-14 05:48:33 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 07:48:33 -0400 |
commit | 29b07a195e5ab96c551dd6c7fc467ed63a4bf622 (patch) | |
tree | f383027090c3a6661dbe2c3d80dcb12efe91df74 /gr-qtgui/lib/time_sink_f_impl.cc | |
parent | 188bf4d1ff87146bd8f24fa055fc531479705448 (diff) |
qtgui: bugfix - display tags on the last sample
* qtgui: display tags on the last sample fixes #2775
Signed-off-by: Jason Uher <jason.uher@jhuapl.edu>
Diffstat (limited to 'gr-qtgui/lib/time_sink_f_impl.cc')
-rw-r--r-- | gr-qtgui/lib/time_sink_f_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |