GNOME Bugzilla – Bug 582244
gnonlin should possibly not use element factory to look for request pads
Last modified: 2013-07-23 13:07:48 UTC
In commit a15d7b8ec88f4d2f9495b5a8cee266d4fe643dc0 code was added to fallback in case there is no element factory for the element. It falls back to looking at the element's class request pad templates. It's not correct in the case of a subclass of gst.Bin for example - the element factory ends up being the bin's element factory, so if you define request pad templates on the subclass, they are not seen by gnonlin. It looks like gnonlin should just use the element class's request pad templates.
Created attachment 234107 [details] [review] gnloperation: check for request pads on the element class not the factory Untested.
commit 1b0217d6796d745652386476ef61adcf0ffdadfa Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Tue Jan 22 14:40:15 2013 +0000 gnloperation: check for request pads on the element class not the factory When checking for request pads as fallback, just look at the element's class, not the factory, since there might not be a factory (in case of python elements) or the factory might be the wrong one (in case of a GstBin sub-class) and doesn't have complete information. https://bugzilla.gnome.org/show_bug.cgi?id=582244