[Bug 754122] h265parse/h264parse: Crashes instead of returning not-negotiated

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Aug 26 07:56:11 PDT 2015


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

--- Comment #1 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> ---
Created attachment 310036
  --> https://bugzilla.gnome.org/attachment.cgi?id=310036&action=edit
h264parse/h265parse: Fix negotiation crash

As it's recursive, gst_pad_get_allowed_caps() may also return
empty for anything incompatible downstream. EMPTY is not valid caps
value for gst_caps_fixate(). This lead to assertion and then crash.
Ideally, the negotiate function should be re-factored to have a return
value, and we could make the negotiation fails earlier.

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