/*
 * call-seq:
 *   Stream >> Post|PostPort|VideoPort|AudioPort -> boolean
 *
 * Etablish a connection between compatible output ports of this stream
 * instance to the given input port(s). The other port may be of class
 * PostPort, VideoPort or AudioPort. If a Post instance is given, all output
 * ports of the stream are wired to compatible input ports of the post plugin.
 * If nothing can be wired because all input ports are incompatible, an
 * exception is raised.
 * Returns true, if rewireing was successful.
 */

static VALUE xs_wire(VALUE self, VALUE otherport_) {