Browse Source

Implement support for private data specifier 0x233a for desc 0x83.

I have been looking at implementing support for parsing the LCN
descriptor for UK DVB-T and to my supprise most of it was already there
but for a different standard. In the D-Book LCN is tag 0x83 with private
data specifier of 0x233a where as what is currently implented is the
IEC/CENELEC 62 216 standard where the only difference (in the actual
data) is the latter has 1 bit that specifies if the channel is vissible
or not and the private data specifier is 0x0028.
master
Jeremy Poulter 12 years ago
committed by Georgi Chorbadzhiyski
parent
commit
5db81d9e4f
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      dvb/si/desc_83p28.h
  2. +2
    -2
      mpeg/psi/descs_print.h

+ 1
- 1
dvb/si/desc_83p28.h View File

@ -103,7 +103,7 @@ static inline void desc83p28_print(uint8_t *p_desc, f_print pf_print,
break;
default:
pf_print(opaque,
" - desc %hhu lcn sid=%hu%s lcn=%hu", desc_get_tag(p_desc),
" - desc %hhx lcn sid=%hu%s lcn=%hu", desc_get_tag(p_desc),
desc83p28n_get_sid(p_desc_n),
desc83p28n_get_visible(p_desc_n) ? " visible" : "",
desc83p28n_get_lcn(p_desc_n));

+ 2
- 2
mpeg/psi/descs_print.h View File

@ -55,8 +55,8 @@ static inline void descl_print(uint8_t *p_descl, uint16_t i_length,
j++;
desc_print_begin(p_desc, pf_print, print_opaque, i_print_type);
if (i_private_data_specifier == 0x28) {
if (i_private_data_specifier == 0x28 ||
i_private_data_specifier == 0x233a) {
/* EICTA */
switch (i_tag) {
#define CASE_DESC(id) \

Loading…
Cancel
Save