mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +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);
|
||||
if ((GST_PAD_TEMPLATE_DIRECTION (templs->data) == GST_PAD_SRC) &&
|
||||
gst_autoplug_caps_intersect (GST_PAD_TEMPLATE_CAPS (templs->data),
|
||||
sink))
|
||||
gst_autoplug_caps_intersect (caps, sink))
|
||||
{
|
||||
return GST_PAD_TEMPLATE (templs->data);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue