gst-all autogen fixes adder capsnego fixes fix the cothreads regression test, /me...
authorAndy Wingo <wingo@pobox.com>
Sun, 3 Mar 2002 21:30:14 +0000 (21:30 +0000)
committerAndy Wingo <wingo@pobox.com>
Sun, 3 Mar 2002 21:30:14 +0000 (21:30 +0000)
Original commit message from CVS:
* gst-all autogen fixes
* adder capsnego fixes
* fix the cothreads regression test, /me is a moron
* add some debugging code in cothreads

gst/adder/gstadder.c

index 119c71f..85693cf 100644 (file)
@@ -224,6 +224,7 @@ gst_adder_connect (GstPad *pad, GstCaps *caps)
           if (channel->sinkpad == GST_PAD_CAST (remove->data)) {
             gst_bytestream_destroy (channel->bytestream);
             adder->input_channels = g_slist_remove_link (adder->input_channels, channels);
+            adder->numsinkpads--;
             goto restart;
           }
           channels = g_slist_next (channels);