Browse Source

fix typo in audio language descriptor output

master
Christophe Massiot 12 years ago
parent
commit
02eff5e722
2 changed files with 7 additions and 7 deletions
  1. +6
    -6
      examples/dvb_print_si.output.xml
  2. +1
    -1
      mpeg/psi/desc_0a.h

+ 6
- 6
examples/dvb_print_si.output.xml View File

@ -412,12 +412,12 @@
<AUDIO_STREAM_DESC free_format_tag="1" ID="1" layer="2" ID_txt="MPEG Audio" layer_txt="Layer II" vbr_audio_flag="1"/>
</DESC>
<DESC id="0x0a" length="24" value="656e6700656e6701656e6702656e670362756c0462756c00">
<AUDIO_LANGUAGE_DESC language="eng" audiotype="0" autiotype_txt="undefined"/>
<AUDIO_LANGUAGE_DESC language="eng" audiotype="1" autiotype_txt="clean effects"/>
<AUDIO_LANGUAGE_DESC language="eng" audiotype="2" autiotype_txt="hearing impaired"/>
<AUDIO_LANGUAGE_DESC language="eng" audiotype="3" autiotype_txt="visual impaired commentary"/>
<AUDIO_LANGUAGE_DESC language="bul" audiotype="4" autiotype_txt="reserved"/>
<AUDIO_LANGUAGE_DESC language="bul" audiotype="0" autiotype_txt="undefined"/>
<AUDIO_LANGUAGE_DESC language="eng" audiotype="0" audiotype_txt="undefined"/>
<AUDIO_LANGUAGE_DESC language="eng" audiotype="1" audiotype_txt="clean effects"/>
<AUDIO_LANGUAGE_DESC language="eng" audiotype="2" audiotype_txt="hearing impaired"/>
<AUDIO_LANGUAGE_DESC language="eng" audiotype="3" audiotype_txt="visual impaired commentary"/>
<AUDIO_LANGUAGE_DESC language="bul" audiotype="4" audiotype_txt="reserved"/>
<AUDIO_LANGUAGE_DESC language="bul" audiotype="0" audiotype_txt="undefined"/>
</DESC>
<DESC id="0x52" length="1" value="2e">
<STREAM_IDENTIFIER_DESC component_tag="46"/>

+ 1
- 1
mpeg/psi/desc_0a.h View File

@ -107,7 +107,7 @@ static inline void desc0a_print(uint8_t *p_desc, f_print pf_print,
j++;
switch (i_print_type) {
case PRINT_XML:
pf_print(opaque, "<AUDIO_LANGUAGE_DESC language=\"%3.3s\" audiotype=\"%u\" autiotype_txt=\"%s\"/>",
pf_print(opaque, "<AUDIO_LANGUAGE_DESC language=\"%3.3s\" audiotype=\"%u\" audiotype_txt=\"%s\"/>",
(const char *)desc0an_get_code(p_desc_n),
desc0an_get_audiotype(p_desc_n),
desc0a_get_audiotype_txt(desc0an_get_audiotype(p_desc_n))

Loading…
Cancel
Save