[Bug 794696] funnel: Allow request_new_pad with null PadTemplate

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 26 14:16:02 UTC 2018


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

--- Comment #3 from Seungha Yang <pudding8757 at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #2)
> Calling the vfunc with a NULL template is not supposed to work.
If so, this patch may not be required.

Now I'm digging a bug #794654 and to fix the bug (just trial), I tried to
replace streamcombiner with funnel and found null pointer dereferencing.

Here is the point of calling request_pad() vfunction directly without
gst_element_request_pad()
https://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/gst/encoding/gstencodebin.c#n1385

and

https://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/gst/encoding/gstencodebin.c#n1002

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