mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
cruft removal
Original commit message from CVS: cruft removal
This commit is contained in:
parent
57183c39dc
commit
89858fc1b7
4 changed files with 8 additions and 12 deletions
|
@ -369,7 +369,6 @@ gst_tee_sink_activate (GstPad * pad, GstActivateMode mode)
|
|||
result = TRUE;
|
||||
break;
|
||||
case GST_ACTIVATE_PULL:
|
||||
case GST_ACTIVATE_PULL_RANGE:
|
||||
g_return_val_if_fail (tee->has_sink_loop, FALSE);
|
||||
if (GST_ELEMENT_SCHEDULER (tee)) {
|
||||
GST_STREAM_LOCK (pad);
|
||||
|
|
|
@ -128,8 +128,8 @@ static GstFlowReturn gst_type_find_element_chain (GstPad * sinkpad,
|
|||
GstBuffer * buffer);
|
||||
static GstFlowReturn gst_type_find_element_getrange (GstPad * srcpad,
|
||||
guint64 offset, guint length, GstBuffer ** buffer);
|
||||
static gboolean gst_type_find_element_checkgetrange (GstPad * srcpad,
|
||||
gboolean * random_access);
|
||||
static gboolean gst_type_find_element_checkgetrange (GstPad * srcpad);
|
||||
|
||||
static GstElementStateReturn
|
||||
gst_type_find_element_change_state (GstElement * element);
|
||||
static gboolean
|
||||
|
@ -807,13 +807,13 @@ gst_type_find_element_chain (GstPad * pad, GstBuffer * buffer)
|
|||
}
|
||||
|
||||
static gboolean
|
||||
gst_type_find_element_checkgetrange (GstPad * srcpad, gboolean * random_access)
|
||||
gst_type_find_element_checkgetrange (GstPad * srcpad)
|
||||
{
|
||||
GstTypeFindElement *typefind;
|
||||
|
||||
typefind = GST_TYPE_FIND_ELEMENT (GST_PAD_PARENT (srcpad));
|
||||
|
||||
return gst_pad_check_pull_range (typefind->sink, random_access);
|
||||
return gst_pad_check_pull_range (typefind->sink);
|
||||
}
|
||||
|
||||
static GstFlowReturn
|
||||
|
@ -862,7 +862,6 @@ gst_type_find_element_activate (GstPad * pad, GstActivateMode mode)
|
|||
switch (mode) {
|
||||
case GST_ACTIVATE_PUSH:
|
||||
case GST_ACTIVATE_PULL:
|
||||
case GST_ACTIVATE_PULL_RANGE:
|
||||
result = TRUE;
|
||||
break;
|
||||
default:
|
||||
|
|
|
@ -369,7 +369,6 @@ gst_tee_sink_activate (GstPad * pad, GstActivateMode mode)
|
|||
result = TRUE;
|
||||
break;
|
||||
case GST_ACTIVATE_PULL:
|
||||
case GST_ACTIVATE_PULL_RANGE:
|
||||
g_return_val_if_fail (tee->has_sink_loop, FALSE);
|
||||
if (GST_ELEMENT_SCHEDULER (tee)) {
|
||||
GST_STREAM_LOCK (pad);
|
||||
|
|
|
@ -128,8 +128,8 @@ static GstFlowReturn gst_type_find_element_chain (GstPad * sinkpad,
|
|||
GstBuffer * buffer);
|
||||
static GstFlowReturn gst_type_find_element_getrange (GstPad * srcpad,
|
||||
guint64 offset, guint length, GstBuffer ** buffer);
|
||||
static gboolean gst_type_find_element_checkgetrange (GstPad * srcpad,
|
||||
gboolean * random_access);
|
||||
static gboolean gst_type_find_element_checkgetrange (GstPad * srcpad);
|
||||
|
||||
static GstElementStateReturn
|
||||
gst_type_find_element_change_state (GstElement * element);
|
||||
static gboolean
|
||||
|
@ -807,13 +807,13 @@ gst_type_find_element_chain (GstPad * pad, GstBuffer * buffer)
|
|||
}
|
||||
|
||||
static gboolean
|
||||
gst_type_find_element_checkgetrange (GstPad * srcpad, gboolean * random_access)
|
||||
gst_type_find_element_checkgetrange (GstPad * srcpad)
|
||||
{
|
||||
GstTypeFindElement *typefind;
|
||||
|
||||
typefind = GST_TYPE_FIND_ELEMENT (GST_PAD_PARENT (srcpad));
|
||||
|
||||
return gst_pad_check_pull_range (typefind->sink, random_access);
|
||||
return gst_pad_check_pull_range (typefind->sink);
|
||||
}
|
||||
|
||||
static GstFlowReturn
|
||||
|
@ -862,7 +862,6 @@ gst_type_find_element_activate (GstPad * pad, GstActivateMode mode)
|
|||
switch (mode) {
|
||||
case GST_ACTIVATE_PUSH:
|
||||
case GST_ACTIVATE_PULL:
|
||||
case GST_ACTIVATE_PULL_RANGE:
|
||||
result = TRUE;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue