mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
915ca4685c
commit
183cc7e3bf
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue