summaryrefslogtreecommitdiffstats
path: root/ext/pulse
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pulse')
-rw-r--r--ext/pulse/pulsesink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c
index 1d74aa23..430d8f29 100644
--- a/ext/pulse/pulsesink.c
+++ b/ext/pulse/pulsesink.c
@@ -896,7 +896,7 @@ gst_pulsesink_write (GstAudioSink * asink, gpointer data, guint length)
goto unlock_and_fail;
}
- if (l > 0)
+ if (l >= length)
break;
if (pulsesink->did_reset)