static void
teardown (void)
{
+ gst_object_unref (srcpad1);
+ gst_object_unref (srcpad2);
gst_object_unref (sinkpad1);
gst_object_unref (sinkpad2);
gst_object_unref (collect);
+ srcpad1 = srcpad2 = NULL;
+ sinkpad1 = sinkpad2 = NULL;
+ collect = NULL;
}
GST_START_TEST (test_pad_add_remove)
g_atomic_int_set (&flush_start_events, 0);
g_atomic_int_set (&flush_stop_events, 0);
gst_element_set_state (agg, GST_STATE_PLAYING);
+ outbuf1 = NULL;
+ outbuf2 = NULL;
+ collected = FALSE;
}
static void
gst_object_unref (srcpad2);
g_free (data1);
g_free (data2);
+ agg = NULL;
+ agg_srcpad = NULL;
+ srcpad1 = srcpad2 = NULL;
+ data1 = data2 = NULL;
}
GST_START_TEST (test_flushing_seek_failure)
suite_add_tcase (suite, general);
tcase_add_checked_fixture (general, setup, teardown);
tcase_add_test (general, test_pad_add_remove);
+
tcase_add_test (general, test_collect);
tcase_add_test (general, test_collect_eos);
tcase_add_test (general, test_collect_twice);