summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gr-blocks/lib/tag_debug_impl.cc8
-rw-r--r--gr-fec/include/gnuradio/fec/puncture_bb.h3
-rw-r--r--gr-fec/include/gnuradio/fec/puncture_ff.h3
3 files changed, 13 insertions, 1 deletions
diff --git a/gr-blocks/lib/tag_debug_impl.cc b/gr-blocks/lib/tag_debug_impl.cc
index d2409adb8b..a4c4c694b8 100644
--- a/gr-blocks/lib/tag_debug_impl.cc
+++ b/gr-blocks/lib/tag_debug_impl.cc
@@ -98,6 +98,7 @@ namespace gr {
gr_vector_void_star &output_items)
{
gr::thread::scoped_lock l(d_mutex);
+ bool toprint = false;
std::stringstream sout;
if(d_display) {
@@ -117,6 +118,10 @@ namespace gr {
else
get_tags_in_range(d_tags, i, abs_N, end_N, d_filter);
+ if(d_tags.size() > 0) {
+ toprint = true;
+ }
+
if(d_display) {
sout << "Input Stream: " << std::setw(2) << std::setfill('0')
<< i << std::setfill(' ') << std::endl;
@@ -135,8 +140,9 @@ namespace gr {
sout << "----------------------------------------------------------------------";
sout << std::endl;
- if(d_tags.size() > 0)
+ if(toprint) {
std::cout << sout.str();
+ }
}
return noutput_items;
diff --git a/gr-fec/include/gnuradio/fec/puncture_bb.h b/gr-fec/include/gnuradio/fec/puncture_bb.h
index 3fc8d7ee9b..499247efbd 100644
--- a/gr-fec/include/gnuradio/fec/puncture_bb.h
+++ b/gr-fec/include/gnuradio/fec/puncture_bb.h
@@ -76,6 +76,9 @@ namespace gr {
* directly as a string and uses the readbitlist inside to do
* the conversion.
*
+ * Note that due to the above concept, the default setting in the
+ * extended encoder of '11' translates into no puncturing.
+ *
* The \p delay parameter delays the application of the puncture
* pattern. This is equivalent to circularly rotating the \p
* puncpat by \p delay. Note that because of the circular shift,
diff --git a/gr-fec/include/gnuradio/fec/puncture_ff.h b/gr-fec/include/gnuradio/fec/puncture_ff.h
index 8625ab4ffb..49a376a153 100644
--- a/gr-fec/include/gnuradio/fec/puncture_ff.h
+++ b/gr-fec/include/gnuradio/fec/puncture_ff.h
@@ -75,6 +75,9 @@ namespace gr {
* directly as a string and uses the readbitlist inside to do
* the conversion.
*
+ * Note that due to the above concept, the default setting in the
+ * extended encoder of '11' translates into no puncturing.
+ *
* The \p delay parameter delays the application of the puncture
* pattern. This is equivalent to circularly rotating the \p
* puncpat by \p delay. Note that because of the circular shift,