mpegts mux: add more traces to mpegts_mux_start

This commit is contained in:
Jaroslav Kysela 2015-01-01 19:46:48 +01:00
parent 1f62c46d72
commit 2635a3d1bf

View file

@ -543,7 +543,7 @@ mpegts_mux_start
int64_t aweight, *allw;
mpegts_mux_nice_name(mm, buf, sizeof(buf));
tvhtrace("mpegts", "%s - starting for '%s' (weight %d. flags %04X)",
tvhtrace("mpegts", "%s - starting for '%s' (weight %d, flags %04X)",
buf, reason, weight, flags);
/* Disabled */
@ -610,6 +610,14 @@ mpegts_mux_start
count++;
}
#if ENABLE_TRACE
for (index = 0; index < count; index++) {
if (all[index])
tvhtrace("mpegts", "%s - %i: prio %li weight %li", buf, index,
(long)(allw[index] >> 32), (long)(allw[index] & 0xffffffff));
}
#endif
/* Try free inputs */
for (index = count - 1; index >= 0; index--) {
mpegts_input_t *mi;