[Bug 765391] vpxenc: Handle frames with too low duration correctly

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Apr 23 13:09:04 UTC 2016


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

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

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

--- Comment #17 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Thanks, pushed to master and 1.8 branch (might also pick into 1.6)

ommit 87403135041470b4fa101dd2930777b6d3ea2cb6
Author: Mario Sanchez Prada <mario at endlessm.com>
Date:   Fri Apr 22 15:02:16 2016 +0100

    vpxenc: Properly handle frames with too low duration

    When a frame's duration is too low, calling gst_util_uint64_scale()
    to scale its value can result into it being truncated to zero, which
    will cause the vpx encoder to return an VPX_CODEC_INVALID_PARAM error
    when trying to encode.

    To prevent this from happening, we simply ignore the duration when
    encoding if it becomes zero after scaling, logging a warning message.

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

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