From 53084277c31ca73f1556b6932a74700f0ddcf1cc Mon Sep 17 00:00:00 2001 From: Stefan Pöschel Date: Mon, 22 Jul 2019 17:57:53 +0200 Subject: DLS: indicate DUMMY DL Plus tag --- src/dls.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/dls.cpp') diff --git a/src/dls.cpp b/src/dls.cpp index 6c5d76b..f55c141 100644 --- a/src/dls.cpp +++ b/src/dls.cpp @@ -260,7 +260,10 @@ void DLSEncoder::encodeLabel(const std::string& dls_file, const DL_PARAMS& dl_pa for (dl_plus_tags_t::const_iterator it = dl_state.dl_plus_tags.begin(); it != dl_state.dl_plus_tags.end(); it++) { if (it != dl_state.dl_plus_tags.begin()) fprintf(stderr, ", "); - fprintf(stderr, "%d (S/L: %d/%d)", it->content_type, it->start_marker, it->length_marker); + if (it->content_type == 0 && it->start_marker == 0 && it->length_marker == 0) + fprintf(stderr, "(DUMMY)"); + else + fprintf(stderr, "%d (S/L: %d/%d)", it->content_type, it->start_marker, it->length_marker); } fprintf(stderr, "\n"); } -- cgit v1.2.3