From 8eb9d556273f2113833aa6b2c1af93caaa5e75be Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sat, 8 Aug 2009 14:47:57 +0200 Subject: [PATCH] basesink: Remove dead assignments --- libs/gst/base/gstbasesink.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libs/gst/base/gstbasesink.c b/libs/gst/base/gstbasesink.c index 8ba7ecd1fc..b1db1c2498 100644 --- a/libs/gst/base/gstbasesink.c +++ b/libs/gst/base/gstbasesink.c @@ -1631,11 +1631,8 @@ handle_stepping (GstBaseSink * sink, GstSegment * segment, GstStepInfo * current, gint64 * cstart, gint64 * cstop, gint64 * rstart, gint64 * rstop) { - GstBaseSinkPrivate *priv; gboolean step_end = FALSE; - priv = sink->priv; - /* see if we need to skip this buffer because of stepping */ switch (current->format) { case GST_FORMAT_TIME: @@ -2670,7 +2667,6 @@ gst_base_sink_render_object (GstBaseSink * basesink, GstPad * pad, again: late = FALSE; step_end = FALSE; - ret = GST_FLOW_OK; /* synchronize this object, non syncable objects return OK * immediatly. */ @@ -3409,7 +3405,6 @@ gst_base_sink_chain_list (GstPad * pad, GstBufferList * list) it = gst_buffer_list_iterate (list); - result = GST_FLOW_OK; if (gst_buffer_list_iterator_next_group (it)) { do { group = gst_buffer_list_iterator_merge_group (it);