mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gstpad: fix gst_pad_can_link
We were converting the GstPadLinkReturn to a gboolean, which is not what we want to do.
This commit is contained in:
parent
a1549d67de
commit
b4b386a1fd
1 changed files with 1 additions and 1 deletions
|
@ -1949,7 +1949,7 @@ gst_pad_can_link (GstPad * srcpad, GstPad * sinkpad)
|
||||||
/* gst_pad_link_prepare does everything for us, we only release the locks
|
/* gst_pad_link_prepare does everything for us, we only release the locks
|
||||||
* on the pads that it gets us. If this function returns !OK the locks are not
|
* on the pads that it gets us. If this function returns !OK the locks are not
|
||||||
* taken anymore. */
|
* taken anymore. */
|
||||||
result = gst_pad_link_prepare (srcpad, sinkpad) == GST_PAD_LINK_OK;
|
result = gst_pad_link_prepare (srcpad, sinkpad);
|
||||||
if (result != GST_PAD_LINK_OK)
|
if (result != GST_PAD_LINK_OK)
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue