gst-libs/gst/rtp/gstbasertpdepayload.c
authorKai Vehmanen <kv2004@eca.cx>
Mon, 5 Dec 2005 10:47:55 +0000 (10:47 +0000)
committerAndy Wingo <wingo@pobox.com>
Mon, 5 Dec 2005 10:47:55 +0000 (10:47 +0000)
Original commit message from CVS:
2005-12-05  Andy Wingo  <wingo@pobox.com>

patch by: Kai Vehmanen <kv2004 eca cx>

* gst-libs/gst/rtp/gstbasertpdepayload.c
(gst_base_rtp_depayload_thread): Fix busy loop (#323017).

ChangeLog
gst-libs/gst/rtp/gstbasertpdepayload.c

index 7d44747..083ec85 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-12-05  Andy Wingo  <wingo@pobox.com>
+
+       patch by: Kai Vehmanen <kv2004 eca cx>
+       
+       * gst-libs/gst/rtp/gstbasertpdepayload.c
+       (gst_base_rtp_depayload_thread): Fix busy loop (#323017).
+
 2005-12-04  Andy Wingo  <wingo@pobox.com>
 
        patch by: Sebastien Cote <sebas642 yahoo ca>
index d6517c7..a7477e4 100644 (file)
@@ -361,7 +361,8 @@ gst_base_rtp_depayload_thread (GstBaseRTPDepayload * filter)
   while (filter->thread_running) {
     gst_base_rtp_depayload_queue_release (filter);
     /* i want to run this thread clock_rate times per second */
-    gst_base_rtp_depayload_wait (filter, GST_NSECOND / filter->clock_rate);
+    /* sleep for 5msec */
+    gst_base_rtp_depayload_wait (filter, GST_MSECOND * 5);
   }
   return NULL;
 }