mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
use new bytestream api
Original commit message from CVS: use new bytestream api
This commit is contained in:
parent
f11d85cec4
commit
5789a18e0a
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue