test-effect-switch: Change one of the pad blocks to and idle probe
Just because we can.
This commit is contained in:
parent
b08598da1c
commit
40fe5dcc84
@ -110,7 +110,7 @@ pad_probe_cb (GstPad * pad, GstPadProbeInfo * info, gpointer user_data)
|
|||||||
static gboolean
|
static gboolean
|
||||||
timeout_cb (gpointer user_data)
|
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);
|
pad_probe_cb, user_data, NULL);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user