mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:06:17 +00:00
Revert "test-effect-switch: Change one of the pad blocks to and idle probe"
This reverts commit 40fe5dcc84
.
Using an idle probe here is not ideal because we'll send an EOS event
from the application thread... which might block for quite some time.
Go back to a block probe.
This commit is contained in:
parent
eff7866dd0
commit
230307f842
1 changed files with 1 additions and 1 deletions
|
@ -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_IDLE,
|
gst_pad_add_probe (blockpad, GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM,
|
||||||
pad_probe_cb, user_data, NULL);
|
pad_probe_cb, user_data, NULL);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue