From fc4ff50b53d6b614f2393d3b5c3aae32344f88d9 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 5 May 2002 01:08:05 +0000 Subject: better initialization. it doesn't work over here, though. Original commit message from CVS: better initialization. it doesn't work over here, though. --- ext/jack/gstjack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/jack/gstjack.c') diff --git a/ext/jack/gstjack.c b/ext/jack/gstjack.c index 359ab3c1..65544f1f 100644 --- a/ext/jack/gstjack.c +++ b/ext/jack/gstjack.c @@ -418,7 +418,7 @@ gst_jack_loop (GstElement *element) pad = GST_JACK_PAD (pads); if (this->direction == GST_PAD_SINK) { - if (pad->bs) + if (!pad->bs) pad->bs = gst_bytestream_new (pad->pad); if (!(peeked = gst_bytestream_peek_bytes (pad->bs, len))) { -- cgit v1.2.1