summaryrefslogtreecommitdiffstats
path: root/ext/jack/gstjackbin.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/jack/gstjackbin.c')
-rw-r--r--ext/jack/gstjackbin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/jack/gstjackbin.c b/ext/jack/gstjackbin.c
index 52222b65..1ba90507 100644
--- a/ext/jack/gstjackbin.c
+++ b/ext/jack/gstjackbin.c
@@ -106,6 +106,7 @@ gst_jack_bin_change_state (GstElement *element)
if (this->client) {
g_message ("jack: closing client");
jack_client_close (this->client);
+ this->client = NULL;
}
if (GST_ELEMENT_CLASS (parent_class)->change_state)
@@ -126,7 +127,6 @@ gst_jack_bin_change_state (GstElement *element)
jack_on_shutdown (this->client, shutdown, this);
}
- /* fixme: there are a *lot* of problems here */
if (GST_FLAG_IS_SET (GST_OBJECT (this), GST_JACK_OPEN)) {
l = this->src_pads;
while (l) {