[libdvbpsi-devel] dvbinfo: print more information on TDT/TOT tables.
Jean-Paul Saman
git at videolan.org
Wed Jun 27 14:29:02 CEST 2012
libdvbpsi | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | 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);
More information about the libdvbpsi-devel
mailing list