[Bug 784250] rtpstats: Glib CRITICAL _gst_util_uint64_scale_int: assertion 'denom > 0' failed

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 25 09:24:59 UTC 2017


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

Julien Isorce <julien.isorce at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|1.13.1                      |1.12.3

--- Comment #8 from Julien Isorce <julien.isorce at gmail.com> ---
commit c9465db1b73432a92f49f59911219aed60a11407
Author:     Julien Isorce <jisorce at oblong.com>
AuthorDate: Tue Jun 27 15:59:18 2017 +0100
Commit:     Julien Isorce <jisorce at oblong.com>
CommitDate: Tue Jul 25 10:24:11 2017 +0100

    rtpstats: fix assertion 'denom > 0' failed

    gst_util_uint64_scale_int takes a gint as denom parameter
    whereas ctx->clock_rate is a guint32.

    It happens when gst_rtp_packet_rate_ctx_reset set clock_rate
    to -1.

    So just define clock_rate as gint like it is done in rtpsource.h

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

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