mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
small fix
Original commit message from CVS: small fix
This commit is contained in:
parent
0321f03994
commit
4e42be7934
1 changed files with 1 additions and 2 deletions
|
@ -117,8 +117,7 @@ gst_autoplug_can_connect_sink (GstElementFactory *fac, GstCaps *sink)
|
||||||
{
|
{
|
||||||
GstCaps *caps = GST_PAD_TEMPLATE_CAPS (templs->data);
|
GstCaps *caps = GST_PAD_TEMPLATE_CAPS (templs->data);
|
||||||
if ((GST_PAD_TEMPLATE_DIRECTION (templs->data) == GST_PAD_SRC) &&
|
if ((GST_PAD_TEMPLATE_DIRECTION (templs->data) == GST_PAD_SRC) &&
|
||||||
gst_autoplug_caps_intersect (GST_PAD_TEMPLATE_CAPS (templs->data),
|
gst_autoplug_caps_intersect (caps, sink))
|
||||||
sink))
|
|
||||||
{
|
{
|
||||||
return GST_PAD_TEMPLATE (templs->data);
|
return GST_PAD_TEMPLATE (templs->data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue