GNOME Bugzilla – Bug 797045
glbasefilter: Add proper support for in-place transform
Last modified: 2018-08-30 15:23:48 UTC
In 1.15 we introduced gst_gl_base_filter_find_gl_context(), which let base subclass trigger the query for a context, and will call gl_stop/gl_start, though using this is a bit difficult, and still requires a lot of work when a filter sets base transform to in-place mode. We should detect that the transform is in-place and trigger the calls to gl_start/gl_stop/gl_setcaps() at appropriate places. This is not triggered because there is no decide_allocation() in that mode.
As pointed out by Matthew: https://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/gst-libs/gst/gl/gstglbasefilter.c#n204