[Bug 741045] audiorate can can lose timestamp precision in some cases

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Dec 2 13:09:59 PST 2014


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

Olivier CrĂȘte <olivier.crete> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |olivier.crete at ocrete.ca
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.5.1

--- Comment #1 from Olivier CrĂȘte <olivier.crete at ocrete.ca> 2014-12-02 21:09:54 UTC ---
The _round() functions are there exactly for this kind of problem, thank you
for your patch.

Next time, please make it into a git commit/patch, this also should run the
commit hook which runs gst-indent (and insures the right indentation style is
used).

Patch merged:

commit e397b03f3544bffaced6028ac1bfc5d15bc3f214
Author: Chad <crh184 at psu.edu>
Date:   Tue Dec 2 15:58:00 2014 -0500

    audiorate: Use gst_util_uint64_scale_int_round()

    Using gst_util_uint64_scale_int() causes slight drift
    which accumulates over time.

    https://bugzilla.gnome.org/show_bug.cgi?id=741045

-- 
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