summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSong Bing <b06498@freescale.com>2015-07-02 14:32:21 +0800
committerSebastian Dröge <sebastian@centricular.com>2015-07-06 11:38:48 +0300
commit8e2c72f1257188f33ebf78629b24cbf224184a69 (patch)
treef67e2e4b3654e3cf208fe9bbb93b173a9b3baf32
parentab5fdd72129ea61e8dff51cdc0afcccac03ebc2b (diff)
basesink: Shouldn't drop buffer when sync=false
Shouldn't drop buffer when sync=false https://bugzilla.gnome.org/show_bug.cgi?id=751819
-rw-r--r--libs/gst/base/gstbasesink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gst/base/gstbasesink.c b/libs/gst/base/gstbasesink.c
index d44e8fc7f..cd759ac59 100644
--- a/libs/gst/base/gstbasesink.c
+++ b/libs/gst/base/gstbasesink.c
@@ -3423,7 +3423,7 @@ gst_base_sink_chain_unlocked (GstBaseSink * basesink, GstPad * pad,
if (G_UNLIKELY (stepped))
goto dropped;
- if (syncable && do_sync) {
+ if (syncable && do_sync && gst_base_sink_get_sync (basesink)) {
GstClock *clock;
GST_OBJECT_LOCK (basesink);