add dump functions for the STD descriptor to dvbinfo
[email protected] (Daniel Kamil Kozar) Thu, 5 Mar 2015 11:22:32 +0100 (CET)
| Newsgroups | gmane.comp.video.videolan.libdvbpsi.devel |
|---|---|
| Message-ID | <[email protected]> |
libdvbpsi | branch: master | Daniel Kamil Kozar <[email protected]> | Wed Mar 4 21:22:30 2015 +0100| [ff44bea8149593b08e653dc850a9b1203ef0d246] | committer: Jean-Paul Saman add dump functions for the STD descriptor to dvbinfo Signed-off-by: Jean-Paul Saman <[email protected]> > http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=ff44bea8149593b08e653dc850a9b1203ef0d246 --- examples/dvbinfo/libdvbpsi.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/examples/dvbinfo/libdvbpsi.c b/examples/dvbinfo/libdvbpsi.c index 5b3bbbd..df298f5 100644 --- a/examples/dvbinfo/libdvbpsi.c +++ b/examples/dvbinfo/libdvbpsi.c @@ -961,6 +961,14 @@ static void DumpSmoothingBufferDescriptor(dvbpsi_smoothing_buffer_dr_t *smoothin } /***************************************************************************** + * DumpSTDDescriptor + *****************************************************************************/ +static void DumpSTDDescriptor(dvbpsi_std_dr_t* std_descriptor) +{ + printf("Leak valid flag: %d\n", std_descriptor->b_leak_valid_flag); +} + +/***************************************************************************** * DumpSystemClockDescriptor *****************************************************************************/ static void DumpSystemClockDescriptor(dvbpsi_system_clock_dr_t* p_clock_descriptor) @@ -1520,6 +1528,9 @@ static void DumpDescriptors(const char* str, dvbpsi_descriptor_t* p_descriptor) case 0x10: DumpSmoothingBufferDescriptor(dvbpsi_DecodeSmoothingBufferDr(p_descriptor)); break; + case 0x11: + DumpSTDDescriptor(dvbpsi_DecodeSTDDr(p_descriptor)); + break; case 0x4c: DumpTimeShiftedServiceDescriptor(dvbpsi_DecodeTimeShiftedServiceDr(p_descriptor)); break; _______________________________________________ libdvbpsi-devel mailing list [email protected] https://mailman.videolan.org/listinfo/libdvbpsi-devel