diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-05-26 12:11:57 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-05-26 12:11:57 +0200 |
commit | 520b3ec749bc572069ab62a9e4e76cbd37d8fa59 (patch) | |
tree | e88ce2f91f1f3ade981ff657dfdf17127125e4ea /tests/check/pipelines/queue-error.c | |
parent | 38c67665b92f762ff13d25d10e982b83872b59a3 (diff) |
pad: remove pad probespad-state
Diffstat (limited to 'tests/check/pipelines/queue-error.c')
-rw-r--r-- | tests/check/pipelines/queue-error.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/check/pipelines/queue-error.c b/tests/check/pipelines/queue-error.c index b43e085ca..343879712 100644 --- a/tests/check/pipelines/queue-error.c +++ b/tests/check/pipelines/queue-error.c @@ -23,6 +23,7 @@ #include <gst/gst.h> +#if 0 static gboolean modify_caps (GstObject * pad, GstEvent * event, gpointer data) { @@ -42,6 +43,7 @@ modify_caps (GstObject * pad, GstEvent * event, gpointer data) return TRUE; } +#endif GST_START_TEST (test_queue) { @@ -50,7 +52,9 @@ GST_START_TEST (test_queue) GstElement *pipeline, *filter, *queue; GstBus *bus; GstPad *pad; +#if 0 guint probe; +#endif gchar *pipe_desc = g_strdup_printf ("fakesrc num-buffers=1 ! video/x-raw-yuv ! " "queue min-threshold-buffers=2 name=queue ! " @@ -69,7 +73,9 @@ GST_START_TEST (test_queue) fail_unless (queue != NULL); pad = gst_element_get_static_pad (queue, "sink"); fail_unless (pad != NULL); +#if 0 probe = gst_pad_add_event_probe (pad, G_CALLBACK (modify_caps), filter); +#endif bus = gst_element_get_bus (pipeline); @@ -85,7 +91,9 @@ GST_START_TEST (test_queue) fail_unless_equals_int (gst_element_set_state (pipeline, GST_STATE_NULL), GST_STATE_CHANGE_SUCCESS); +#if 0 gst_pad_remove_event_probe (pad, probe); +#endif gst_object_unref (queue); gst_object_unref (pad); gst_object_unref (filter); |