From 78ddfc5a339b3bb51bd27dc6a3b7d98ce162ee59 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 13 Dec 2003 16:59:51 +0000 Subject: [PATCH] removed GST_*_CAST. Disabling of type checking is done in glib. Original commit message from CVS: removed GST_*_CAST. Disabling of type checking is done in glib. --- gst/adder/gstadder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index e08c36e..d994d86 100644 --- a/gst/adder/gstadder.c +++ b/gst/adder/gstadder.c @@ -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); -- 2.7.4