diff --git a/gst/gstpad.c b/gst/gstpad.c
index 9639f1d..1d5ae9c 100644
--- a/gst/gstpad.c
+++ b/gst/gstpad.c
@@ -72,6 +72,8 @@
 #include "gstvalue.h"
 #include "glib-compat-private.h"
 
+#include <unistd.h>
+
 GST_DEBUG_CATEGORY_STATIC (debug_dataflow);
 #define GST_CAT_DEFAULT GST_CAT_PADS
 
@@ -2557,6 +2559,8 @@ gst_pad_accept_caps (GstPad * pad, GstCaps * caps)
   acceptfunc = GST_PAD_ACCEPTCAPSFUNC (pad);
   GST_OBJECT_UNLOCK (pad);
 
+  sleep (20);
+
   if (G_LIKELY (acceptfunc)) {
     /* we can call the function */
     result = acceptfunc (pad, caps);
