[Bug 768458] vaapiencode: h264: check fps numerator

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 22 09:34:18 UTC 2016


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

--- Comment #7 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 331968
  --> https://bugzilla.gnome.org/attachment.cgi?id=331968&action=edit
vaapiencode: h264,h265: validate fps numerator

Validate that fps numerator is non-zero so it can be used to calculate
the duration of the B frame.

Also it gst_util_uint64_scale() is used instead of normal arithmetic in
order to aviod overflows, underflows and loss of precision.

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