removed GST_*_CAST. Disabling of type checking is done in glib.
authorBenjamin Otte <otte@gnome.org>
Sat, 13 Dec 2003 16:59:51 +0000 (16:59 +0000)
committerBenjamin Otte <otte@gnome.org>
Sat, 13 Dec 2003 16:59:51 +0000 (16:59 +0000)
Original commit message from CVS:
removed GST_*_CAST. Disabling of type checking is done in glib.

gst/adder/gstadder.c

index e08c36e..d994d86 100644 (file)
@@ -239,13 +239,13 @@ gst_adder_link (GstPad *pad, GstCaps *caps)
       }
       while (remove) {
         gst_element_remove_pad (GST_ELEMENT (adder),
-                                GST_PAD_CAST (remove->data));
+                                GST_PAD (remove->data));
       restart:
         channels = adder->input_channels;
         while (channels) {
           GstAdderInputChannel *channel;
          channel = (GstAdderInputChannel*) channels->data;
-          if (channel->sinkpad == GST_PAD_CAST (remove->data)) {
+          if (channel->sinkpad == GST_PAD (remove->data)) {
             gst_bytestream_destroy (channel->bytestream);
             adder->input_channels =
               g_slist_remove_link (adder->input_channels, channels);