tests: Remove funnel pad_alloc test
authorOlivier Crête <olivier.crete@collabora.com>
Tue, 2 Jul 2013 00:18:58 +0000 (20:18 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 2 Jul 2013 00:18:58 +0000 (20:18 -0400)
tests/check/elements/funnel.c

index 7ab6045..4a7643c 100644 (file)
@@ -119,10 +119,6 @@ chain_ok (GstPad * pad, GstObject * parent, GstBuffer * buffer)
 GST_START_TEST (test_funnel_simple)
 {
   struct TestData td;
-#if 0
-  GstBuffer *buf1 = NULL;
-  GstBuffer *buf2 = NULL;
-#endif
 
   setup_test_objects (&td, chain_ok);
 
@@ -134,18 +130,6 @@ GST_START_TEST (test_funnel_simple)
 
   fail_unless (bufcount == 2);
 
-#if 0
-  fail_unless (gst_pad_alloc_buffer (td.mysrc1, 0, 1024, td.mycaps,
-          &buf1) == GST_FLOW_OK);
-  fail_unless (gst_pad_alloc_buffer (td.mysrc2, 1024, 1024, td.mycaps,
-          &buf2) == GST_FLOW_OK);
-
-  fail_unless (alloccount == 2);
-
-  gst_buffer_unref (buf1);
-  gst_buffer_unref (buf2);
-#endif
-
   release_test_objects (&td);
 }