if (!o || !o->options)
return NULL;
- return o->options(FALSE);
+ return o->options();
}
/**
if (!o || !o->options)
return;
- for (opt = o->options(TRUE); opt->id; opt++) {
+ for (opt = o->options(); opt->id; opt++) {
if (opt->def) {
g_variant_unref(opt->def);
opt->def = NULL;
op = g_malloc(sizeof(struct sr_output));
op->module = o;
op->sdi = sdi;
+
if (op->module->init && op->module->init(op, options) != SR_OK) {
g_free(op);
op = NULL;