[gstreamer-bugs] [Bug 323017] While(1) loop with sleep(0) in basertpdepayload.c

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Dec 3 03:32:08 PST 2005


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=323017
 GStreamer | gst-plugins-base | Ver: HEAD CVS





------- Additional Comments From Jan Schmidt  2005-12-03 11:32 -------
The bug here is that GST_NSECOND is '1', because nanoseconds are GStreamer's
clock unit. 

I'm not sure what the units of clock_rate are so it's hard to know what the
statement is TRYING to calculate. As you say (GST_NSECOND / filter->clock_rate)
is the wrong thing to do. I'd guess you probably wanted (GST_SECOND /
filter->clock_rate) instead, which would sleep for 1^9/filter->clock_rate
nanoseconds.

Making the filter getrange based doesn't sound like the right approach, since
it's not a random access stream. 

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list