basetransform: Don't return the return value of gst_pad_set_caps()

e.g. it returns FALSE if incompatible caps are set on the pad.
This commit is contained in:
Sebastian Dröge 2012-06-08 15:32:37 +02:00
parent 915ca4685c
commit 183cc7e3bf

View file

@ -1317,7 +1317,7 @@ gst_base_transform_setcaps (GstBaseTransform * trans, GstPad * pad,
goto failed_configure;
/* let downstream know about our caps */
gst_pad_push_event (trans->srcpad, gst_event_new_caps (outcaps));
ret = gst_pad_set_caps (trans->srcpad, outcaps);
if (ret) {
/* try to get a pool when needed */