[Bug 768458] vaapiencode: use gst_util_uint64_scale() and check fps numerator

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 26 12:53:49 UTC 2016


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

--- Comment #10 from sreerenj <bsreerenj at gmail.com> ---
(In reply to Víctor Manuel Jáquez Leal from comment #8)
> Created attachment 331969 [details] [review]
> encoder: mpeg2,vp8: use gst_util_uint64_scale()
> 
> Use gst_util_uint64_scale() to calculate bitrate instead of normal arithmetic
> to avoid overflows, underflows and loss of precision.

There are same bitrate calculation code in h264 and h265 too :)

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