Improve messages
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 4 Dec 2008 19:15:57 +0000 (21:15 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 4 Dec 2008 19:15:57 +0000 (21:15 +0200)
modules/access/rtp/session.c

index 35262b9..430f328 100644 (file)
@@ -353,8 +353,7 @@ rtp_queue (demux_t *demux, rtp_session_t *session, block_t *block)
             break;
         if (delta_seq == 0)
         {
-            msg_Warn (demux, "duplicate packet (sequence: %"PRIu16")",
-                      seq);
+            msg_Dbg (demux, "duplicate packet (sequence: %"PRIu16")", seq);
             goto drop; /* duplicate */
         }
         pp = &prev->p_next;
@@ -385,7 +384,7 @@ rtp_decode (demux_t *demux, const rtp_session_t *session, rtp_source_t *src)
     {
         if (delta_seq >= 0x8000)
         {   /* 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));
             goto drop;
         }