mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-03 01:02:19 +00:00
basetransform: fix crash/warning in find_transform when pad is unlinked
Looks like the revert conflict in commit a44271 was resolved incorrectly.
This commit is contained in:
parent
221c9423d3
commit
de58242760
1 changed files with 1 additions and 1 deletions
|
@ -1065,7 +1065,7 @@ gst_base_transform_find_transform (GstBaseTransform * trans, GstPad * pad,
|
||||||
goto could_not_fixate;
|
goto could_not_fixate;
|
||||||
|
|
||||||
/* and peer should accept */
|
/* and peer should accept */
|
||||||
if (!gst_pad_accept_caps (otherpeer, othercaps))
|
if (otherpeer && !gst_pad_accept_caps (otherpeer, othercaps))
|
||||||
goto peer_no_accept;
|
goto peer_no_accept;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (trans, "Input caps were %" GST_PTR_FORMAT
|
GST_DEBUG_OBJECT (trans, "Input caps were %" GST_PTR_FORMAT
|
||||||
|
|
Loading…
Reference in a new issue