mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
libs/gst/check/gstcheck.c: make sure we unset caps
Original commit message from CVS: * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad): make sure we unset caps
This commit is contained in:
parent
c4b93a9321
commit
53b73f3b5c
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
|
||||
make sure we unset caps
|
||||
|
||||
2006-06-02 Michael Smith <msmith@fluendo.com>
|
||||
|
||||
* libs/gst/check/gstcheck.c: (gst_check_init),
|
||||
|
|
|
@ -195,6 +195,9 @@ gst_check_teardown_src_pad (GstElement * element)
|
|||
|
||||
gst_pad_unlink (srcpad, sinkpad);
|
||||
|
||||
/* caps could have been set, make sure they get unset */
|
||||
gst_pad_set_caps (srcpad, NULL);
|
||||
|
||||
/* pad refs held by both creator and this function (through _get) */
|
||||
ASSERT_OBJECT_REFCOUNT (sinkpad, "element sinkpad", 2);
|
||||
gst_object_unref (sinkpad);
|
||||
|
|
Loading…
Reference in a new issue