diff -Naur gst-plugins-base-0.10.8/gst-libs/gst/rtp/gstbasertpdepayload.c gst-plugins-base-0.10.8-jitterbuffer-fixes/gst-libs/gst/rtp/gstbasertpdepayload.c
--- gst-plugins-base-0.10.8/gst-libs/gst/rtp/gstbasertpdepayload.c	2006-04-12 12:34:52.000000000 +0200
+++ gst-plugins-base-0.10.8-jitterbuffer-fixes/gst-libs/gst/rtp/gstbasertpdepayload.c	2006-07-17 15:29:04.000000000 +0200
@@ -276,7 +276,10 @@
     /* look for right place to insert it */
     i = 0;
 
-    while (seqnum > queueseq) {
+    /* Check for seqnum wraparound.
+     * Seqnums in the lowest quadrant of the 0-65535 space are considered to
+     * be greater than seqnums in the highest quadrant of this space. */
+    while (seqnum > queueseq || (seqnum < 16384 && queueseq > 49150)) {
       gpointer data;
 
       i++;
diff -Naur gst-plugins-base-0.10.8/gst-libs/gst/rtp/gstbasertpdepayload.h gst-plugins-base-0.10.8-jitterbuffer-fixes/gst-libs/gst/rtp/gstbasertpdepayload.h
--- gst-plugins-base-0.10.8/gst-libs/gst/rtp/gstbasertpdepayload.h	2006-04-12 12:34:52.000000000 +0200
+++ gst-plugins-base-0.10.8-jitterbuffer-fixes/gst-libs/gst/rtp/gstbasertpdepayload.h	2006-07-17 15:29:20.000000000 +0200
@@ -42,7 +42,7 @@
 #define GST_BASE_RTP_DEPAYLOAD_SRCPAD(depayload)  (GST_BASE_RTP_DEPAYLOAD (depayload)->srcpad)
 
 /* in milliseconds */
-#define RTP_QUEUE_DELAY 100;
+#define RTP_QUEUE_DELAY 0;
 
 #define QUEUE_LOCK_INIT(base)   (g_static_rec_mutex_init(&base->queuelock))
 #define QUEUE_LOCK_FREE(base)   (g_static_rec_mutex_free(&base->queuelock))
