mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
pad-monitor: fix return type of get_range_func
The return type of GstPadGetRangeFunction is GstFlowReturn https://bugzilla.gnome.org/show_bug.cgi?id=774638
This commit is contained in:
parent
caafd6c36e
commit
11c5a413ab
1 changed files with 2 additions and 2 deletions
|
@ -2299,13 +2299,13 @@ gst_validate_pad_monitor_activatemode_func (GstPad * pad, GstObject * parent,
|
|||
return ret;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
static GstFlowReturn
|
||||
gst_validate_pad_get_range_func (GstPad * pad, GstObject * parent,
|
||||
guint64 offset, guint size, GstBuffer ** buffer)
|
||||
{
|
||||
GstValidatePadMonitor *pad_monitor =
|
||||
g_object_get_data ((GObject *) pad, "validate-monitor");
|
||||
gboolean ret;
|
||||
GstFlowReturn ret;
|
||||
ret = pad_monitor->getrange_func (pad, parent, offset, size, buffer);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue