[vlc-devel] commit: Improve messages ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Dec 4 20:16:08 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Dec  4 21:15:57 2008 +0200| [f86fdcb669528cb5c3e5e906d12281ff96b63106] | committer: Rémi Denis-Courmont 

Improve messages

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f86fdcb669528cb5c3e5e906d12281ff96b63106
---

 modules/access/rtp/session.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/access/rtp/session.c b/modules/access/rtp/session.c
index 35262b9..430f328 100644
--- a/modules/access/rtp/session.c
+++ b/modules/access/rtp/session.c
@@ -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;
         }




More information about the vlc-devel mailing list