baseparse: avg_bitrate calculation critical warning fix
authorPhilippe Normand <philn@igalia.com>
Thu, 30 Aug 2018 16:44:07 +0000 (17:44 +0100)
committerPhilippe Normand <philn@igalia.com>
Fri, 31 Aug 2018 14:35:35 +0000 (15:35 +0100)
commitd7c87910c297c200151127e2fdc081e437923e82
tree5da00a16d0d5f137577be05686624f1b134612be
parent95fcced84d187f6f5d0e386f338f1c020313b796
baseparse: avg_bitrate calculation critical warning fix

The avg_bitrate is an unsigned int, so the gst_util_uin64_scale() function can't
be used for it, as it expects signed integers for the fraction parts arguments.

https://bugzilla.gnome.org/show_bug.cgi?id=797054
libs/gst/base/gstbaseparse.c