Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mpegts mux: add more traces to mpegts_mux_start
  • Loading branch information
perexg committed Jan 1, 2015
1 parent 1f62c46 commit 2635a3d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/input/mpegts/mpegts_mux.c
Expand Up @@ -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 */
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2635a3d

Please sign in to comment.