Commit 2351f606 authored by Jean-Paul Saman's avatar Jean-Paul Saman

dvbinfo: correct expected continuity counter in error debug

parent 3890ac43
Pipeline #1 failed with stage
in 0 seconds
...@@ -3132,7 +3132,7 @@ bool libdvbpsi_process(ts_stream_t *stream, uint8_t *buf, ssize_t length, mtime_ ...@@ -3132,7 +3132,7 @@ bool libdvbpsi_process(ts_stream_t *stream, uint8_t *buf, ssize_t length, mtime_
{ {
stream->pf_log(stream->cb_data, 2, stream->pf_log(stream->cb_data, 2,
"dvbinfo: Continuity counter discontinuity (pid %u 0x%x found %d expected %d)\n", "dvbinfo: Continuity counter discontinuity (pid %u 0x%x found %d expected %d)\n",
i_pid, 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)%16);
/* 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