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