gst_base_parse_sink_setcaps() presumably should fail if the subclass
returns FALSE from its ::set_sink_caps() function.
res = klass->set_sink_caps (parse, caps);
parse->negotiated = res;
- return gst_pad_set_caps (pad, caps);
+ return res && gst_pad_set_caps (pad, caps);
}
res = klass->set_sink_caps (parse, caps);
parse->negotiated = res;
- return gst_pad_set_caps (pad, caps);
+ return res && gst_pad_set_caps (pad, caps);
}
res = klass->set_sink_caps (parse, caps);
parse->negotiated = res;
- return gst_pad_set_caps (pad, caps);
+ return res && gst_pad_set_caps (pad, caps);
}