Commit 1daefa11 authored by Jean-Paul Saman's avatar Jean-Paul Saman

dvbinfo: add descriptor 0x10

parent bdfb9568
......@@ -951,6 +951,15 @@ static void DumpMaxBitrateDescriptor(dvbpsi_max_bitrate_dr_t* bitrate_descriptor
printf("Bitrate: %d\n", bitrate_descriptor->i_max_bitrate);
}
/*****************************************************************************
* DumpSmoothingBufferDescriptor
*****************************************************************************/
static void DumpSmoothingBufferDescriptor(dvbpsi_smoothing_buffer_dr_t *smoothing_descriptor)
{
printf("Leak rate: %d \n", smoothing_descriptor->i_sb_leak_rate);
printf("Size: %d \n", smoothing_descriptor->i_sb_size);
}
/*****************************************************************************
* DumpSystemClockDescriptor
*****************************************************************************/
......@@ -1508,6 +1517,9 @@ static void DumpDescriptors(const char* str, dvbpsi_descriptor_t* p_descriptor)
case 0x0e:
DumpMaxBitrateDescriptor(dvbpsi_DecodeMaxBitrateDr(p_descriptor));
break;
case 0x10:
DumpSmoothingBufferDescriptor(dvbpsi_DecodeSmoothingBufferDr(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