Commit ff44bea8 authored by Daniel Kamil Kozar's avatar Daniel Kamil Kozar Committed by Jean-Paul Saman

add dump functions for the STD descriptor to dvbinfo

Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
parent b30cbcd3
......@@ -960,6 +960,14 @@ static void DumpSmoothingBufferDescriptor(dvbpsi_smoothing_buffer_dr_t *smoothin
printf("Size: %d \n", smoothing_descriptor->i_sb_size);
}
/*****************************************************************************
* DumpSTDDescriptor
*****************************************************************************/
static void DumpSTDDescriptor(dvbpsi_std_dr_t* std_descriptor)
{
printf("Leak valid flag: %d\n", std_descriptor->b_leak_valid_flag);
}
/*****************************************************************************
* DumpSystemClockDescriptor
*****************************************************************************/
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment