summaryrefslogtreecommitdiffstats
path: root/ext/jack
diff options
context:
space:
mode:
authorSteve Baker <steve@stevebaker.org>2002-05-15 19:08:49 +0000
committerSteve Baker <steve@stevebaker.org>2002-05-15 19:08:49 +0000
commit9275ce0e157d95064ab6d5ea47f88c16df6598ec (patch)
tree4267d8b2597a0227fe8a60dbb6315c46fcf2183e /ext/jack
parent012aaa2cb0675d8c65e5d4f38f5b7e3f1975ac8a (diff)
downloadgst-plugins-bad-9275ce0e157d95064ab6d5ea47f88c16df6598ec.tar.gz
gst-plugins-bad-9275ce0e157d95064ab6d5ea47f88c16df6598ec.tar.bz2
gst-plugins-bad-9275ce0e157d95064ab6d5ea47f88c16df6598ec.zip
use new bytestream api
Original commit message from CVS: use new bytestream api
Diffstat (limited to 'ext/jack')
-rw-r--r--ext/jack/gstjack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/jack/gstjack.c b/ext/jack/gstjack.c
index ab0e4a3c..4cf4df58 100644
--- a/ext/jack/gstjack.c
+++ b/ext/jack/gstjack.c
@@ -421,7 +421,7 @@ gst_jack_loop (GstElement *element)
if (!pad->bs)
pad->bs = gst_bytestream_new (pad->pad);
- if (!(peeked = gst_bytestream_peek_bytes (pad->bs, len))) {
+ if (gst_bytestream_peek_bytes (pad->bs, (guint8**)&peeked, len) < len) {
gst_bytestream_get_status(pad->bs, &avail, &event);
if (event) {
g_warning("got an event on jacksink");