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.
This commit is contained in:
Benjamin Otte 2003-12-13 16:59:51 +00:00
parent 2eb7332b1b
commit 78ddfc5a33

View 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);