use new bytestream api

Original commit message from CVS:
use new bytestream api
This commit is contained in:
Steve Baker 2002-05-15 19:08:49 +00:00 committed by Tim-Philipp Müller
parent f11d85cec4
commit 5789a18e0a

View file

@ -421,7 +421,7 @@ gst_jack_loop (GstElement *element)
if (!pad->bs) if (!pad->bs)
pad->bs = gst_bytestream_new (pad->pad); 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); gst_bytestream_get_status(pad->bs, &avail, &event);
if (event) { if (event) {
g_warning("got an event on jacksink"); g_warning("got an event on jacksink");