cruft removal

Original commit message from CVS:
cruft removal
This commit is contained in:
Andy Wingo 2005-05-05 21:45:54 +00:00
parent 57183c39dc
commit 89858fc1b7
4 changed files with 8 additions and 12 deletions

View file

@ -369,7 +369,6 @@ gst_tee_sink_activate (GstPad * pad, GstActivateMode mode)
result = TRUE; result = TRUE;
break; break;
case GST_ACTIVATE_PULL: case GST_ACTIVATE_PULL:
case GST_ACTIVATE_PULL_RANGE:
g_return_val_if_fail (tee->has_sink_loop, FALSE); g_return_val_if_fail (tee->has_sink_loop, FALSE);
if (GST_ELEMENT_SCHEDULER (tee)) { if (GST_ELEMENT_SCHEDULER (tee)) {
GST_STREAM_LOCK (pad); GST_STREAM_LOCK (pad);

View file

@ -128,8 +128,8 @@ static GstFlowReturn gst_type_find_element_chain (GstPad * sinkpad,
GstBuffer * buffer); GstBuffer * buffer);
static GstFlowReturn gst_type_find_element_getrange (GstPad * srcpad, static GstFlowReturn gst_type_find_element_getrange (GstPad * srcpad,
guint64 offset, guint length, GstBuffer ** buffer); guint64 offset, guint length, GstBuffer ** buffer);
static gboolean gst_type_find_element_checkgetrange (GstPad * srcpad, static gboolean gst_type_find_element_checkgetrange (GstPad * srcpad);
gboolean * random_access);
static GstElementStateReturn static GstElementStateReturn
gst_type_find_element_change_state (GstElement * element); gst_type_find_element_change_state (GstElement * element);
static gboolean static gboolean
@ -807,13 +807,13 @@ gst_type_find_element_chain (GstPad * pad, GstBuffer * buffer)
} }
static gboolean static gboolean
gst_type_find_element_checkgetrange (GstPad * srcpad, gboolean * random_access) gst_type_find_element_checkgetrange (GstPad * srcpad)
{ {
GstTypeFindElement *typefind; GstTypeFindElement *typefind;
typefind = GST_TYPE_FIND_ELEMENT (GST_PAD_PARENT (srcpad)); 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 static GstFlowReturn
@ -862,7 +862,6 @@ gst_type_find_element_activate (GstPad * pad, GstActivateMode mode)
switch (mode) { switch (mode) {
case GST_ACTIVATE_PUSH: case GST_ACTIVATE_PUSH:
case GST_ACTIVATE_PULL: case GST_ACTIVATE_PULL:
case GST_ACTIVATE_PULL_RANGE:
result = TRUE; result = TRUE;
break; break;
default: default:

View file

@ -369,7 +369,6 @@ gst_tee_sink_activate (GstPad * pad, GstActivateMode mode)
result = TRUE; result = TRUE;
break; break;
case GST_ACTIVATE_PULL: case GST_ACTIVATE_PULL:
case GST_ACTIVATE_PULL_RANGE:
g_return_val_if_fail (tee->has_sink_loop, FALSE); g_return_val_if_fail (tee->has_sink_loop, FALSE);
if (GST_ELEMENT_SCHEDULER (tee)) { if (GST_ELEMENT_SCHEDULER (tee)) {
GST_STREAM_LOCK (pad); GST_STREAM_LOCK (pad);

View file

@ -128,8 +128,8 @@ static GstFlowReturn gst_type_find_element_chain (GstPad * sinkpad,
GstBuffer * buffer); GstBuffer * buffer);
static GstFlowReturn gst_type_find_element_getrange (GstPad * srcpad, static GstFlowReturn gst_type_find_element_getrange (GstPad * srcpad,
guint64 offset, guint length, GstBuffer ** buffer); guint64 offset, guint length, GstBuffer ** buffer);
static gboolean gst_type_find_element_checkgetrange (GstPad * srcpad, static gboolean gst_type_find_element_checkgetrange (GstPad * srcpad);
gboolean * random_access);
static GstElementStateReturn static GstElementStateReturn
gst_type_find_element_change_state (GstElement * element); gst_type_find_element_change_state (GstElement * element);
static gboolean static gboolean
@ -807,13 +807,13 @@ gst_type_find_element_chain (GstPad * pad, GstBuffer * buffer)
} }
static gboolean static gboolean
gst_type_find_element_checkgetrange (GstPad * srcpad, gboolean * random_access) gst_type_find_element_checkgetrange (GstPad * srcpad)
{ {
GstTypeFindElement *typefind; GstTypeFindElement *typefind;
typefind = GST_TYPE_FIND_ELEMENT (GST_PAD_PARENT (srcpad)); 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 static GstFlowReturn
@ -862,7 +862,6 @@ gst_type_find_element_activate (GstPad * pad, GstActivateMode mode)
switch (mode) { switch (mode) {
case GST_ACTIVATE_PUSH: case GST_ACTIVATE_PUSH:
case GST_ACTIVATE_PULL: case GST_ACTIVATE_PULL:
case GST_ACTIVATE_PULL_RANGE:
result = TRUE; result = TRUE;
break; break;
default: default: