[Bug 769268] nvenc segfault after setting wrong width or height

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 19 12:10:17 UTC 2017


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #14 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Created attachment 350062
  --> https://bugzilla.gnome.org/attachment.cgi?id=350062&action=edit
nvenc: only accept widths and height that are a multiple of 2

Can't reproduce the crash, but we could do something like this as a quick fix.

Not sure if that's better or worse than erroring out though. It has the
advantage that it's more correct, and theoretically elements before the encoder
could automatically crop/scale as required. In practice I can't find any
elements which actually support this yet though.

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