Commit 0dd6f6db authored by Jean-Paul Saman's avatar Jean-Paul Saman

dvbinfo: Add hex representation of PID to error message on discontinuity.

parent 46a0dc4a
...@@ -1568,8 +1568,8 @@ bool libdvbpsi_process(ts_stream_t *stream, uint8_t *buf, ssize_t length, mtime_ ...@@ -1568,8 +1568,8 @@ bool libdvbpsi_process(ts_stream_t *stream, uint8_t *buf, ssize_t length, mtime_
if (b_discontinuity_seen) if (b_discontinuity_seen)
{ {
fprintf(stderr, "dvbinfo: Continuity counter discontinuity (pid %d found %d expected %d)\n", fprintf(stderr, "dvbinfo: Continuity counter discontinuity (pid %d 0x%x found %d expected %d)\n",
i_pid, stream->pid[i_pid].i_cc, i_old_cc+1 ); i_pid, i_pid, stream->pid[i_pid].i_cc, i_old_cc+1 );
/* Discontinuity has been handled */ /* Discontinuity has been handled */
b_discontinuity_seen = false; b_discontinuity_seen = false;
......
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