if (gst_pad_try_set_caps (space->srcpad, peercaps)) {
space->type = GST_COLORSPACE_NONE;
space->disabled = FALSE;
- return GST_PAD_CONNECT_OK;
+ return GST_PAD_CONNECT_DONE;
}
}
/* then see what the peer has that matches the size */
if (colorspace_setup_converter (space, ourcaps, peercaps)) {
if (gst_pad_try_set_caps (space->srcpad, peercaps)) {
space->disabled = FALSE;
- return GST_PAD_CONNECT_OK;
+ return GST_PAD_CONNECT_DONE;
}
}
peercaps = peercaps->next;