mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
check: let the normal code unset caps
This commit is contained in:
parent
cac9e8fee2
commit
5f06f3b0ae
1 changed files with 0 additions and 3 deletions
|
@ -255,9 +255,6 @@ gst_check_teardown_pad_by_name (GstElement * element, const gchar * name)
|
||||||
gst_pad_unlink (pad_peer, pad_element);
|
gst_pad_unlink (pad_peer, pad_element);
|
||||||
else
|
else
|
||||||
gst_pad_unlink (pad_element, pad_peer);
|
gst_pad_unlink (pad_element, pad_peer);
|
||||||
|
|
||||||
/* caps could have been set, make sure they get unset */
|
|
||||||
gst_pad_set_caps (pad_peer, NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* pad refs held by both creator and this function (through _get) */
|
/* pad refs held by both creator and this function (through _get) */
|
||||||
|
|
Loading…
Reference in a new issue