mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
update for probe api changes
This commit is contained in:
parent
931354215e
commit
c48df77320
2 changed files with 5 additions and 7 deletions
|
@ -514,9 +514,9 @@ distribute_running_time (GstElement * element, const GstSegment * segment)
|
|||
}
|
||||
|
||||
static GstPadProbeReturn
|
||||
dbin_event_probe (GstPad * pad, GstPadProbeType ptype, GstEvent * event,
|
||||
gpointer data)
|
||||
dbin_event_probe (GstPad * pad, GstPadProbeInfo * info, gpointer data)
|
||||
{
|
||||
GstEvent *event = GST_PAD_PROBE_INFO_EVENT (info);
|
||||
GstPulseAudioSink *pbin = GST_PULSE_AUDIO_SINK (data);
|
||||
|
||||
if (GST_EVENT_TYPE (event) == GST_EVENT_SEGMENT) {
|
||||
|
@ -583,7 +583,7 @@ gst_pulse_audio_sink_add_dbin (GstPulseAudioSink * pbin)
|
|||
sinkpad = gst_element_get_static_pad (GST_ELEMENT (pbin->psink), "sink");
|
||||
pbin->event_probe_id =
|
||||
gst_pad_add_probe (sinkpad, GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM,
|
||||
(GstPadProbeCallback) dbin_event_probe, gst_object_ref (pbin), NULL);
|
||||
dbin_event_probe, gst_object_ref (pbin), NULL);
|
||||
gst_object_unref (sinkpad);
|
||||
sinkpad = NULL;
|
||||
|
||||
|
@ -623,8 +623,7 @@ update_eac3_alignment (GstPulseAudioSink * pbin)
|
|||
}
|
||||
|
||||
static GstPadProbeReturn
|
||||
proxypad_blocked_cb (GstPad * pad, GstPadProbeType ptype, gpointer type_data,
|
||||
gpointer data)
|
||||
proxypad_blocked_cb (GstPad * pad, GstPadProbeInfo * info, gpointer data)
|
||||
{
|
||||
GstPulseAudioSink *pbin = GST_PULSE_AUDIO_SINK (data);
|
||||
GstCaps *caps;
|
||||
|
|
|
@ -2153,8 +2153,7 @@ gst_rtspsrc_sink_chain (GstPad * pad, GstBuffer * buffer)
|
|||
}
|
||||
|
||||
static GstPadProbeReturn
|
||||
pad_blocked (GstPad * pad, GstPadProbeType type, gpointer type_data,
|
||||
gpointer user_data)
|
||||
pad_blocked (GstPad * pad, GstPadProbeInfo * info, gpointer user_data)
|
||||
{
|
||||
GstRTSPSrc *src = user_data;
|
||||
|
||||
|
|
Loading…
Reference in a new issue