[gst-cvs] gstreamer: basesink : Remove unused variable.

Edward Hervey bilboed at kemper.freedesktop.org
Fri Apr 3 03:51:38 PDT 2009


Module: gstreamer
Branch: master
Commit: 6577af363501389ca6ca3bcd224a7717d5308bf2
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=6577af363501389ca6ca3bcd224a7717d5308bf2

Author: Edward Hervey <bilboed at bilboed.com>
Date:   Fri Apr  3 12:13:00 2009 +0200

basesink : Remove unused variable.

sync is never used anywhere in that code.

---

 libs/gst/base/gstbasesink.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libs/gst/base/gstbasesink.c b/libs/gst/base/gstbasesink.c
index 67f90df..40304c3 100644
--- a/libs/gst/base/gstbasesink.c
+++ b/libs/gst/base/gstbasesink.c
@@ -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:





More information about the Gstreamer-commits mailing list