[Bug 753881] make check fails for hlsdemux_m3u8 due to floating point rounding error

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Aug 20 07:14:05 PDT 2015


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.6.0

--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 48fefd8c841c6b22a620d3b6d6af5d062886627f
Author: Alex Ashley <bugzilla at ashley-family.net>
Date:   Thu Aug 20 15:00:02 2015 +0100

    check: hlsdemux: make duration unit test robust to floating point rounding

    The test_playlist_with_doubles_duration() test fails on some platforms
    due to rounding errors that occur when m3u8.c converts from the floating
    point value in the HLS manifest to a GstClockTime.

    Using assert_equals_float() fixes this because this function handles
    the rounding error issues by accepting almost equal.

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

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