mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
pad-monitor: Remove unused pad getrange override
This commit is contained in:
parent
de59b3ad00
commit
d1319a1b6d
2 changed files with 0 additions and 16 deletions
|
@ -2440,17 +2440,6 @@ gst_validate_pad_monitor_activatemode_func (GstPad * pad, GstObject * parent,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstFlowReturn
|
|
||||||
gst_validate_pad_get_range_func (GstPad * pad, GstObject * parent,
|
|
||||||
guint64 offset, guint size, GstBuffer ** buffer)
|
|
||||||
{
|
|
||||||
GstValidatePadMonitor *pad_monitor = _GET_PAD_MONITOR (pad);
|
|
||||||
GstFlowReturn ret;
|
|
||||||
|
|
||||||
ret = pad_monitor->getrange_func (pad, parent, offset, size, buffer);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
gst_validate_pad_monitor_buffer_probe (GstPad * pad, GstBuffer * buffer,
|
gst_validate_pad_monitor_buffer_probe (GstPad * pad, GstBuffer * buffer,
|
||||||
gpointer udata, gboolean pull_mode)
|
gpointer udata, gboolean pull_mode)
|
||||||
|
@ -2798,10 +2787,6 @@ gst_validate_pad_monitor_do_setup (GstValidateMonitor * monitor)
|
||||||
gst_pad_set_event_function (pad,
|
gst_pad_set_event_function (pad,
|
||||||
gst_validate_pad_monitor_sink_event_func);
|
gst_validate_pad_monitor_sink_event_func);
|
||||||
} else {
|
} else {
|
||||||
pad_monitor->getrange_func = GST_PAD_GETRANGEFUNC (pad);
|
|
||||||
if (pad_monitor->getrange_func)
|
|
||||||
gst_pad_set_getrange_function (pad, gst_validate_pad_get_range_func);
|
|
||||||
|
|
||||||
gst_pad_set_event_function (pad, gst_validate_pad_monitor_src_event_func);
|
gst_pad_set_event_function (pad, gst_validate_pad_monitor_src_event_func);
|
||||||
|
|
||||||
/* add buffer/event probes */
|
/* add buffer/event probes */
|
||||||
|
|
|
@ -61,7 +61,6 @@ struct _GstValidatePadMonitor {
|
||||||
GstPadChainFunction chain_func;
|
GstPadChainFunction chain_func;
|
||||||
GstPadEventFunction event_func;
|
GstPadEventFunction event_func;
|
||||||
GstPadEventFullFunction event_full_func;
|
GstPadEventFullFunction event_full_func;
|
||||||
GstPadGetRangeFunction getrange_func;
|
|
||||||
GstPadQueryFunction query_func;
|
GstPadQueryFunction query_func;
|
||||||
GstPadActivateModeFunction activatemode_func;
|
GstPadActivateModeFunction activatemode_func;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue