]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
dvb_psi: improve stype logs
authorJaroslav Kysela <perex@perex.cz>
Fri, 7 Nov 2014 14:46:05 +0000 (15:46 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 8 Nov 2014 20:05:39 +0000 (21:05 +0100)
src/input/mpegts/dvb_psi.c

index 07662cc9ea49194578a227a66371716ba43ff577..9f3ccfc788f0b1967d9b19c66ed673a919fdd52c 100644 (file)
@@ -407,7 +407,7 @@ dvb_desc_service_list
   for (i = 0; i < len; i += 3) {
     sid   = (ptr[i] << 8) | ptr[i+1];
     stype = ptr[i+2];
-    tvhdebug(dstr, "    service %04X (%d) type %d", sid, sid, stype);
+    tvhdebug(dstr, "    service %04X (%d) type %02X (%d)", sid, sid, stype, stype);
     if (bi)
       bi->services_count++;
     if (mm) {
@@ -1531,8 +1531,8 @@ dvb_sdt_callback
       }
     }
 
-    tvhtrace("sdt", "  type %d name [%s] provider [%s] def_auth [%s]",
-             stype, sname, sprov, sauth);
+    tvhtrace("sdt", "  type %02X (%d) name [%s] provider [%s] def_auth [%s]",
+             stype, stype, sname, sprov, sauth);
     if (!s) continue;
 
     /* Update service type */
@@ -1540,7 +1540,8 @@ dvb_sdt_callback
       int r;
       s->s_dvb_servicetype = stype;
       save = 1;
-      tvhtrace("sdt", "    type changed (old %i)", s->s_dvb_servicetype);
+      tvhtrace("sdt", "    type changed / old %02X (%i)",
+               s->s_dvb_servicetype, s->s_dvb_servicetype);
 
       /* Set tvh service type */
       if ((r = dvb_servicetype_lookup(stype)) != -1)