dvbinfo: print more information on TDT/TOT tables.

[email protected] (Jean-Paul Saman)
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <[email protected]>
libdvbpsi | branch: master | Jean-Paul Saman <[email protected]> | Wed Jun 13 17:42:19 2012 +0200| [4e5fc784cd80552476b782accce6e431c0677b06] | committer: Jean-Paul Saman

dvbinfo: print more information on TDT/TOT tables.

> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=4e5fc784cd80552476b782accce6e431c0677b06
---

 examples/dvbinfo/libdvbpsi.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/examples/dvbinfo/libdvbpsi.c b/examples/dvbinfo/libdvbpsi.c
index a23c6a8..e625f01 100644
--- a/examples/dvbinfo/libdvbpsi.c
+++ b/examples/dvbinfo/libdvbpsi.c
@@ -1166,6 +1166,10 @@ static void handle_TOT(void* p_data, dvbpsi_tot_t* p_tot)
     else if (table_id == 0x73) /* TOT */
         printf("  TOT: Time Offset Table\n");
 
+    printf("\tVersion number : %d\n", p_tot->i_version);
+    printf("\tCurrent next   : %s\n", p_tot->b_current_next ? "yes" : "no");
+    printf("\tTransport stream id : %d\n", p_tot->i_ts_id);
+
     printf("\tUTC time       : %"PRId64"\n", p_tot->i_utc_time);
     if (table_id == 0x73) /* TOT */
         printf("\tCRC 32         : %d\n", p_tot->i_crc);

_______________________________________________
libdvbpsi-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libdvbpsi-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.