]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/commitdiff
basesink: Remove dead assignments
authorEdward Hervey <bilboed@bilboed.com>
Sat, 8 Aug 2009 12:47:57 +0000 (14:47 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 8 Aug 2009 12:47:57 +0000 (14:47 +0200)
libs/gst/base/gstbasesink.c

index 8ba7ecd1fcb8423cd5429788b98f3a98060afb3e..b1db1c249824f925c8c6f87181d926f5bfe35c7e 100644 (file)
@@ -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);