summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Nazar <nazard@nazar.ca>2021-04-11 08:23:27 -0400
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-04-12 10:15:47 +0000
commitb500ac31ab67b206815e564009afd7c547c00b45 (patch)
tree8a7ddab2db69cfbb82371b9a22b0a00c5b8e95de
parentd323942999008689007e13fd406091e5f4a307b9 (diff)
tests: Remove invalid buffer test in test_get_allowed_caps.HEADmaster
Passing a non-GObject pointer causes SIGSEGV on certain architectures. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/790>
-rw-r--r--tests/check/gst/gstpad.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/check/gst/gstpad.c b/tests/check/gst/gstpad.c
index 7ee0feeee..3a4ee0d5d 100644
--- a/tests/check/gst/gstpad.c
+++ b/tests/check/gst/gstpad.c
@@ -169,15 +169,10 @@ GST_START_TEST (test_get_allowed_caps)
{
GstPad *src, *sink;
GstCaps *caps, *gotcaps;
- GstBuffer *buffer;
GstPadLinkReturn plr;
ASSERT_CRITICAL (gst_pad_get_allowed_caps (NULL));
- buffer = gst_buffer_new ();
- ASSERT_CRITICAL (gst_pad_get_allowed_caps ((GstPad *) buffer));
- gst_buffer_unref (buffer);
-
src = gst_pad_new ("src", GST_PAD_SRC);
fail_if (src == NULL);
caps = gst_pad_get_allowed_caps (src);