*
* @param listener Listener to be called when a new {@link Pad} is encountered
* on the {@link Element}
*/
public void connect(final AUTOPLUG_SORT listener) {
connect(AUTOPLUG_SORT.class, listener, new GstCallback() {
@SuppressWarnings("unused")
public GValueArray callback(DecodeBin2 elem, Pad pad, Caps caps, GValueArray factories) {
return listener.autoplugSort(elem, pad, caps, factories);
}
});