summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-04-03 12:13:00 +0200
committerEdward Hervey <bilboed@bilboed.com>2009-04-03 12:57:24 +0200
commit6577af363501389ca6ca3bcd224a7717d5308bf2 (patch)
tree69ad29854ffd8f7a525ec3c0be11f5257ce244bd
parent9bf1d7247a3c550d23ff9a3aa1e628b159428ee8 (diff)
basesink : Remove unused variable.
sync is never used anywhere in that code.
-rw-r--r--libs/gst/base/gstbasesink.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/gst/base/gstbasesink.c b/libs/gst/base/gstbasesink.c
index 67f90dffd5..40304c3f57 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: