summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5c479aa)
raw | patch | inline | side by side (parent: 5c479aa)
author | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | |
Mon, 10 Jan 2011 12:59:19 +0000 (09:59 -0300) | ||
committer | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | |
Mon, 10 Jan 2011 13:04:46 +0000 (10:04 -0300) |
Do not forget to unref peer's pad on output-selector negotiation
tests
tests
tests/check/elements/selector.c | patch | blob | history |
index 3c96890be4b67400e6b98cfb75ed50937894ac6e..0f9116638c5591c7e07b7f1204b0ced42f688319 100644 (file)
/* in 'none' mode, the getcaps returns the template, which is ANY */
g_assert (gst_caps_is_any (caps));
gst_caps_unref (caps);
+ gst_object_unref (pad);
}
fail_unless (gst_element_set_state (sel,
g_assert (gst_caps_is_equal (caps, expected));
gst_caps_unref (caps);
+ gst_object_unref (pad);
}
gst_caps_unref (expected);
g_assert (gst_caps_is_equal (caps, expected));
gst_caps_unref (caps);
+ gst_object_unref (pad);
}
fail_unless (gst_element_set_state (sel,