Commit f86fdcb6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Improve messages

parent da52c957
...@@ -353,8 +353,7 @@ rtp_queue (demux_t *demux, rtp_session_t *session, block_t *block) ...@@ -353,8 +353,7 @@ rtp_queue (demux_t *demux, rtp_session_t *session, block_t *block)
break; break;
if (delta_seq == 0) if (delta_seq == 0)
{ {
msg_Warn (demux, "duplicate packet (sequence: %"PRIu16")", msg_Dbg (demux, "duplicate packet (sequence: %"PRIu16")", seq);
seq);
goto drop; /* duplicate */ goto drop; /* duplicate */
} }
pp = &prev->p_next; pp = &prev->p_next;
...@@ -385,7 +384,7 @@ rtp_decode (demux_t *demux, const rtp_session_t *session, rtp_source_t *src) ...@@ -385,7 +384,7 @@ rtp_decode (demux_t *demux, const rtp_session_t *session, rtp_source_t *src)
{ {
if (delta_seq >= 0x8000) if (delta_seq >= 0x8000)
{ /* Unrecoverable if later packets have already been dequeued */ { /* Unrecoverable if later packets have already been dequeued */
msg_Warn (demux, "ignoring late packet (sequence: %u)", msg_Warn (demux, "ignoring late packet (sequence: %"PRIu16")",
rtp_seq (block)); rtp_seq (block));
goto drop; goto drop;
} }
......
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