gst-libs/gst/rtp/gstbasertpdepayload.c

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).
This commit is contained in:
Kai Vehmanen 2005-12-05 10:47:55 +00:00 committed by Andy Wingo
parent 1fdf8ac9b3
commit b515b87da8
2 changed files with 9 additions and 1 deletions

View file

@ -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> 2005-12-04 Andy Wingo <wingo@pobox.com>
patch by: Sebastien Cote <sebas642 yahoo ca> patch by: Sebastien Cote <sebas642 yahoo ca>

View file

@ -361,7 +361,8 @@ gst_base_rtp_depayload_thread (GstBaseRTPDepayload * filter)
while (filter->thread_running) { while (filter->thread_running) {
gst_base_rtp_depayload_queue_release (filter); gst_base_rtp_depayload_queue_release (filter);
/* i want to run this thread clock_rate times per second */ /* 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; return NULL;
} }