From 9275ce0e157d95064ab6d5ea47f88c16df6598ec Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Wed, 15 May 2002 19:08:49 +0000 Subject: use new bytestream api Original commit message from CVS: use new bytestream api --- ext/jack/gstjack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/jack') 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"); -- cgit v1.2.1