From 5337bc03be142f9561e61d381ee62dcad8a7c763 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 30 Jan 2009 17:58:15 +0000 Subject: [PATCH] Fix compilation warning on Forte --- gst/playback/gstplaybasebin.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gst/playback/gstplaybasebin.c b/gst/playback/gstplaybasebin.c index d3389df2c0..5ba697255a 100644 --- a/gst/playback/gstplaybasebin.c +++ b/gst/playback/gstplaybasebin.c @@ -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);