From ef8d56344defb57eee9e7b551eb8fb5af2742c04 Mon Sep 17 00:00:00 2001
From: Andy Wingo <wingo@pobox.com>
Date: Sun, 29 Sep 2002 18:12:18 +0000
Subject: licenses again

Original commit message from CVS:
licenses again
---
 ext/jack/gstjack.c    | 4 +++-
 ext/jack/gstjackbin.c | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

(limited to 'ext/jack')

diff --git a/ext/jack/gstjack.c b/ext/jack/gstjack.c
index 33901da7..4a19f3fc 100644
--- a/ext/jack/gstjack.c
+++ b/ext/jack/gstjack.c
@@ -39,7 +39,7 @@
 static GstElementDetails gst_jack_bin_details = {  
     "Jack Bin",
     "Generic/Bin",
-    "LGPL",
+    "GPL",
     "Jack processing bin: see README for more info",
     VERSION,
     "Andy Wingo <wingo@pobox.com>",
@@ -49,6 +49,7 @@ static GstElementDetails gst_jack_bin_details = {
 static GstElementDetails gst_jack_sink_details = {  
     "Jack Sink",
     "Sink/Audio",
+    "GPL",
     "Output to a Jack processing network: see README for more info",
     VERSION,
     "Andy Wingo <wingo@pobox.com>",
@@ -58,6 +59,7 @@ static GstElementDetails gst_jack_sink_details = {
 static GstElementDetails gst_jack_src_details = {  
     "Jack Src",
     "Source/Audio",
+    "GPL",
     "Input from a Jack processing network: see README for more info",
     VERSION,
     "Andy Wingo <wingo@pobox.com>",
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) {
-- 
cgit v1.2.1