how to unblock a pad

Wonchul Lee chul0812 at gmail.com
Thu Nov 6 21:46:10 PST 2014


Hi,
you can unblock pad by removing probe, use gst_pad_remove_probe API.
or you can unblock in callback function, like,

static GstPadProbeReturn
event_probe_cb (GstPad * pad, GstPadProbeInfo * info,
    gpointer user_data)
{
...
  gst_pad_remove_probe (pad, GST_PAD_PROBE_INFO_ID (info));
...
}

or

static GstPadProbeReturn
event_probe_cb (GstPad * pad, GstPadProbeInfo * info,
    gpointer user_data)
{
...
  return GST_PAD_PROBE_REMOVE;
}


-
Wonchul Lee


More information about the gstreamer-devel mailing list