mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
make gst_element_link work when connecting from a NULL-caps request pad
Original commit message from CVS: make gst_element_link work when connecting from a NULL-caps request pad
This commit is contained in:
parent
4d13919ffa
commit
b0ab53ea6a
1 changed files with 2 additions and 2 deletions
|
@ -1295,8 +1295,8 @@ gst_element_get_compatible_pad_template (GstElement *element,
|
|||
if (padtempl->direction == GST_PAD_SRC &&
|
||||
compattempl->direction == GST_PAD_SINK) {
|
||||
GST_CAT_DEBUG (GST_CAT_CAPS, "compatible direction: found src pad template");
|
||||
comp = gst_caps_is_always_compatible (GST_PAD_TEMPLATE_CAPS (padtempl),
|
||||
GST_PAD_TEMPLATE_CAPS (compattempl));
|
||||
comp = gst_caps_is_always_compatible (GST_PAD_TEMPLATE_CAPS (compattempl),
|
||||
GST_PAD_TEMPLATE_CAPS (padtempl));
|
||||
GST_CAT_DEBUG (GST_CAT_CAPS, "caps are %scompatible", (comp ? "" : "not "));
|
||||
} else if (padtempl->direction == GST_PAD_SINK &&
|
||||
compattempl->direction == GST_PAD_SRC) {
|
||||
|
|
Loading…
Reference in a new issue