diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-05-10 09:25:14 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-05-10 09:25:14 +0200 |
commit | 91b51148385826769300454ad972a1623cfccb9e (patch) | |
tree | da66e65bbcc3564cea0c730684b1ee2d03c781ab /libdtv/libsi/si_debug_services.c | |
parent | dc8fd12f91713c2eec49ae38ab34f09fd7e73369 (diff) | |
download | vdr-91b51148385826769300454ad972a1623cfccb9e.tar.gz vdr-91b51148385826769300454ad972a1623cfccb9e.tar.bz2 |
Implemented the CableDeliverySystemDescriptor in libdtv
Diffstat (limited to 'libdtv/libsi/si_debug_services.c')
-rw-r--r-- | libdtv/libsi/si_debug_services.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/libdtv/libsi/si_debug_services.c b/libdtv/libsi/si_debug_services.c index ac8de34c..9138d803 100644 --- a/libdtv/libsi/si_debug_services.c +++ b/libdtv/libsi/si_debug_services.c @@ -540,6 +540,19 @@ void siDebugDescriptors (char *Prepend, struct LIST *Descriptors) } break; + case DESCR_CABLE_DEL_SYS: + { + struct CableDeliverySystemDescriptor *cds = + (struct CableDeliverySystemDescriptor *)Descriptor; + + printf ("%sDescriptor: Cable Delivery System\n", Prepend); + printf ("%s Frequency: %ld\n", Prepend, cds->Frequency); + printf ("%s SymbolRate: %ld\n", Prepend, cds->SymbolRate); + printf ("%s FEC: %d\n", Prepend, cds->FEC); + printf ("%s Modulation: %d\n", Prepend, cds->Modulation); + } + break; + case DESCR_SERVICE_LIST: { struct ServiceListEntry *Entry; @@ -572,7 +585,6 @@ void siDebugDescriptors (char *Prepend, struct LIST *Descriptors) break; case DESCR_STUFFING: - case DESCR_CABLE_DEL_SYS: case DESCR_VBI_DATA: case DESCR_VBI_TELETEXT: case DESCR_MOSAIC: @@ -598,7 +610,7 @@ void siDebugDescriptors (char *Prepend, struct LIST *Descriptors) case DESCR_CELL_FREQ_LINK: case DESCR_ANNOUNCEMENT_SUPPORT: default: - printf ("%sDescriptor: (noch nicht unterstützt)\n", Prepend); + printf ("%sDescriptor: %02x (noch nicht unterstützt)\n", Prepend, DescriptorTag (Descriptor)); break; } } |