diff --git a/ChangeLog b/ChangeLog index af5abf5968..62e7a97636 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-07-02 Jan Schmidt + + * gst/gstpad.c: (gst_pad_emit_have_data_signal): + Put the mini_object into GValue as a mini_object, + not a gpointer, since that's how we declared + the signal. + 2005-07-01 Ronald S. Bultje * examples/pwg/Makefile.am: diff --git a/gst/gstpad.c b/gst/gstpad.c index 67e9519604..9f632bc786 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -2686,8 +2686,8 @@ gst_pad_emit_have_data_signal (GstPad * pad, GstMiniObject * obj) g_value_set_boolean (&ret, TRUE); g_value_init (&args[0], GST_TYPE_PAD); g_value_set_object (&args[0], pad); - g_value_init (&args[1], G_TYPE_POINTER); - g_value_set_pointer (&args[1], obj); + g_value_init (&args[1], GST_TYPE_MINI_OBJECT); // G_TYPE_POINTER); + gst_value_set_mini_object (&args[1], obj); /* actually emit */ g_signal_emitv (args, gst_pad_signals[PAD_HAVE_DATA], 0, &ret);