Fix compilation warning on Forte

This commit is contained in:
Jan Schmidt 2009-01-30 17:58:15 +00:00
parent 6b1e08f277
commit 5337bc03be

View file

@ -1947,15 +1947,15 @@ remove_decoders (GstPlayBaseBin * bin)
/* Disconnect all the signal handlers we attached to the decodebin before
* we dispose of it */
g_signal_handlers_disconnect_by_func (decoder,
G_CALLBACK (decodebin_element_added_cb), bin);
(gpointer) (decodebin_element_added_cb), bin);
g_signal_handlers_disconnect_by_func (decoder,
G_CALLBACK (decodebin_element_removed_cb), bin);
(gpointer) (decodebin_element_removed_cb), bin);
g_signal_handlers_disconnect_by_func (decoder,
G_CALLBACK (new_decoded_pad), bin);
(gpointer) (new_decoded_pad), bin);
g_signal_handlers_disconnect_by_func (decoder,
G_CALLBACK (no_more_pads), bin);
(gpointer) (no_more_pads), bin);
g_signal_handlers_disconnect_by_func (decoder,
G_CALLBACK (unknown_type), bin);
(gpointer) (unknown_type), bin);
gst_element_set_state (decoder, GST_STATE_NULL);
gst_bin_remove (GST_BIN_CAST (bin), decoder);