Commit 316d502b authored by Jean-Paul Saman's avatar Jean-Paul Saman

dvbinfo: small logging improvements.

parent a708ad10
...@@ -175,7 +175,7 @@ static params_t *params_init(void) ...@@ -175,7 +175,7 @@ static params_t *params_init(void)
param->summary.mode = SUM_BANDWIDTH; param->summary.mode = SUM_BANDWIDTH;
param->summary.file = NULL; param->summary.file = NULL;
param->summary.fd = stdout; param->summary.fd = stdout;
param->summary.period = 1000; param->summary.period = 1000; /* in ms */
/* functions */ /* functions */
param->pf_read = NULL; param->pf_read = NULL;
......
...@@ -1489,7 +1489,7 @@ bool libdvbpsi_process(ts_stream_t *stream, uint8_t *buf, ssize_t length, mtime_ ...@@ -1489,7 +1489,7 @@ bool libdvbpsi_process(ts_stream_t *stream, uint8_t *buf, ssize_t length, mtime_
stream->pid[i_pid].i_received = date; stream->pid[i_pid].i_received = date;
if (stream->level < DVBPSI_MSG_DEBUG) if (stream->level < DVBPSI_MSG_DEBUG)
stream->pf_log(stream->cb_data, 2, stream->pf_log(stream->cb_data, 3,
"dvbinfo: %"PRId64" packet %"PRId64" pid %u (0x%x) cc %d\n", "dvbinfo: %"PRId64" packet %"PRId64" pid %u (0x%x) cc %d\n",
date, stream->i_packets, i_pid, i_pid, i_cc); date, stream->i_packets, i_pid, i_pid, i_cc);
......
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