basesink : Remove unused variable.
authorEdward Hervey <bilboed@bilboed.com>
Fri, 3 Apr 2009 10:13:00 +0000 (12:13 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 3 Apr 2009 10:57:24 +0000 (12:57 +0200)
sync is never used anywhere in that code.

libs/gst/base/gstbasesink.c

index 67f90df..40304c3 100644 (file)
@@ -1323,7 +1323,6 @@ gst_base_sink_commit_state (GstBaseSink * basesink)
   gboolean post_paused = FALSE;
   gboolean post_async_done = FALSE;
   gboolean post_playing = FALSE;
-  gboolean sync;
 
   /* we are certainly not playing async anymore now */
   basesink->playing_async = FALSE;
@@ -1333,7 +1332,6 @@ gst_base_sink_commit_state (GstBaseSink * basesink)
   next = GST_STATE_NEXT (basesink);
   pending = GST_STATE_PENDING (basesink);
   post_pending = pending;
-  sync = basesink->sync;
 
   switch (pending) {
     case GST_STATE_PLAYING: