[bTSstream-devel] eit_print: print section numbers

Christophe Massiot git at videolan.org
Mon Apr 27 12:37:50 CEST 2015


bitstream | branch: master | Christophe Massiot <cmassiot at openheadend.tv> | Mon Apr 27 12:36:27 2015 +0200| [3bc2a78056d5d9f2dab50c0533607750b4744fca] | committer: Christophe Massiot

eit_print: print section numbers

DVB states that EIT present and following should be in two different sections.

> http://git.videolan.org/gitweb.cgi/bitstream.git/?a=commit;h=3bc2a78056d5d9f2dab50c0533607750b4744fca
---

 dvb/si/eit_print.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dvb/si/eit_print.h b/dvb/si/eit_print.h
index 45dbed3..6c4d53c 100644
--- a/dvb/si/eit_print.h
+++ b/dvb/si/eit_print.h
@@ -76,12 +76,14 @@ static inline void eit_print(uint8_t *p_eit,
         break;
     default:
         pf_print(print_opaque,
-                 "new EIT tableid=0x%02x type=%s service_id=%u version=%u%s tsid=%u"
+                 "new EIT tableid=0x%02x type=%s service_id=%u version=%u%s section=%u/%u tsid=%u"
                  " onid=%u",
                  i_tid, psz_tid,
                  eit_get_sid(p_eit),
                  psi_get_version(p_eit),
                  !psi_get_current(p_eit) ? " (next)" : "",
+                 psi_get_section(p_eit),
+                 psi_get_lastsection(p_eit),
                  eit_get_tsid(p_eit),
                  eit_get_onid(p_eit)
                 );



More information about the biTStream-devel mailing list