[0.11] gstreamer: tests: fix simple-launch-lines compilation
Tim Müller
tpm at kemper.freedesktop.org
Fri Jan 27 09:52:29 PST 2012
Module: gstreamer
Branch: 0.11
Commit: d50ecdd9d5e70af58382fb91733a2e7f5b139374
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=d50ecdd9d5e70af58382fb91733a2e7f5b139374
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date: Fri Jan 27 17:49:48 2012 +0000
tests: fix simple-launch-lines compilation
Don't use removed API.
---
tests/check/pipelines/simple-launch-lines.c | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/tests/check/pipelines/simple-launch-lines.c b/tests/check/pipelines/simple-launch-lines.c
index 8101564..fb72a2f 100644
--- a/tests/check/pipelines/simple-launch-lines.c
+++ b/tests/check/pipelines/simple-launch-lines.c
@@ -243,24 +243,6 @@ got_handoff (GstElement * sink, GstBuffer * buf, GstPad * pad, gpointer unused)
gst_structure_new_empty ("foo")));
}
-static void
-assert_live_count (GType type, gint live)
-{
- GstAllocTrace *trace;
- const gchar *name;
-
- if (gst_alloc_trace_available ()) {
- name = g_type_name (type);
- fail_if (name == NULL);
- trace = gst_alloc_trace_get (name);
- if (trace) {
- g_return_if_fail (trace->live == live);
- }
- } else {
- g_print ("\nSkipping live count tests; recompile with traces to enable\n");
- }
-}
-
GST_START_TEST (test_stop_from_app)
{
GstElement *fakesrc, *fakesink, *pipeline;
@@ -269,8 +251,6 @@ GST_START_TEST (test_stop_from_app)
GstMessageType rmessage;
GstMessage *message;
- assert_live_count (GST_TYPE_BUFFER, 0);
-
fakesrc = gst_element_factory_make ("fakesrc", NULL);
fakesink = gst_element_factory_make ("fakesink", NULL);
pipeline = gst_element_factory_make ("pipeline", NULL);
@@ -316,8 +296,6 @@ GST_START_TEST (test_stop_from_app)
gst_element_set_state (pipeline, GST_STATE_NULL);
gst_object_unref (pipeline);
gst_object_unref (bus);
-
- assert_live_count (GST_TYPE_BUFFER, 0);
}
GST_END_TEST;
More information about the gstreamer-commits
mailing list