Commit 6ef82dec authored by Christophe Massiot's avatar Christophe Massiot Committed by Georgi Chorbadzhiyski

* dvb/si.h: Teletext page is usually printed as hex.

parent e45e5e27
......@@ -670,7 +670,7 @@ static inline void desc46_print(uint8_t *p_desc, f_print pf_print,
switch (i_print_type) {
case PRINT_XML:
pf_print(opaque,
"<%s language=\"%3.3s\" type=\"0x%hhx\" mag=\"%hhu\" page=\"%hhu\"/>",
"<%s language=\"%3.3s\" type=\"0x%hhx\" mag=\"%hhu\" page=\"0x%hhx\"/>",
desc_get_tag(p_desc) == 0x46 ? "VBI_TELX_DESC" : "TELX_DESC",
(const char *)desc46n_get_code(p_desc_n),
desc46n_get_teletexttype(p_desc_n),
......@@ -679,7 +679,7 @@ static inline void desc46_print(uint8_t *p_desc, f_print pf_print,
break;
default:
pf_print(opaque,
" - desc %x telx language=%3.3s type=0x%hhx mag=%hhu page=%hhu",
" - desc %x telx language=%3.3s type=0x%hhx mag=%hhu page=0x%hhx",
desc_get_tag(p_desc), (const char *)desc46n_get_code(p_desc_n),
desc46n_get_teletexttype(p_desc_n),
desc46n_get_teletextmagazine(p_desc_n),
......
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