test-effect-switch: Change one of the pad blocks to and idle probe
authorSebastian Dröge <sebastian@centricular.com>
Mon, 30 Dec 2013 18:12:53 +0000 (19:12 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 30 Dec 2013 18:13:37 +0000 (19:13 +0100)
Just because we can.

tests/icles/test-effect-switch.c

index c022eba..1f25b23 100644 (file)
@@ -110,7 +110,7 @@ pad_probe_cb (GstPad * pad, GstPadProbeInfo * info, gpointer user_data)
 static gboolean
 timeout_cb (gpointer user_data)
 {
-  gst_pad_add_probe (blockpad, GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM,
+  gst_pad_add_probe (blockpad, GST_PAD_PROBE_TYPE_IDLE,
       pad_probe_cb, user_data, NULL);
 
   return TRUE;