Fix compilation warning on Forte
authorJan Schmidt <jan.schmidt@sun.com>
Fri, 30 Jan 2009 17:58:15 +0000 (17:58 +0000)
committerJan Schmidt <jan.schmidt@sun.com>
Fri, 30 Jan 2009 17:58:15 +0000 (17:58 +0000)
gst/playback/gstplaybasebin.c

index d3389df..5ba6972 100644 (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);