diff options
author | Andy Wingo <wingo@pobox.com> | 2002-05-05 01:08:05 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2002-05-05 01:08:05 +0000 |
commit | fc4ff50b53d6b614f2393d3b5c3aae32344f88d9 (patch) | |
tree | 742287f19ba2636c0e381a4c5582bab8d04e293d /ext/jack/gstjack.c | |
parent | 47cd41eb8317a70ef14cf5bc2c119570dfafd98a (diff) | |
download | gst-plugins-bad-fc4ff50b53d6b614f2393d3b5c3aae32344f88d9.tar.gz gst-plugins-bad-fc4ff50b53d6b614f2393d3b5c3aae32344f88d9.tar.bz2 gst-plugins-bad-fc4ff50b53d6b614f2393d3b5c3aae32344f88d9.zip |
better initialization. it doesn't work over here, though.
Original commit message from CVS:
better initialization. it doesn't work over here, though.
Diffstat (limited to 'ext/jack/gstjack.c')
-rw-r--r-- | ext/jack/gstjack.c | 2 |
1 files changed, 1 insertions, 1 deletions
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))) { |