mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
tests: Remove invalid buffer test in test_get_allowed_caps.
Passing a non-GObject pointer causes SIGSEGV on certain architectures. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/790>
This commit is contained in:
parent
d323942999
commit
b500ac31ab
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue