[gstreamer-bugs] [Bug 622553] rtpmanager: Implement RFC 4585 (AVPF / early feedback)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 13 04:10:48 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=622553
  GStreamer | gst-plugins-good | git

--- Comment #3 from Wim Taymans <wim.taymans at gmail.com> 2010-09-13 11:10:46 UTC ---
> @@ -78,11 +78,11 @@ enum
>  * precision. */
> #define UPDATE_AVG(avg, val)            \
>   if ((avg) == 0)                       \
>    (avg) = (val) << 4;                  \
>   else                                  \
>-   (avg) = ((val) + (15 * (avg))) >> 4;
>+   (avg) = ((val << 4) + (15 * (avg))) >> 4;

Is not quite right, it adds 1/16th of the previous average to the last value.
Changed to:

  (avg) = ((val) + (15 * (avg)));

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list