mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
gst/gstpad.c: Put the mini_object into GValue as a mini_object, not a gpointer.
Original commit message from CVS: 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com> * gst/gstpad.c: (gst_pad_emit_have_data_signal): Put the mini_object into GValue as a mini_object, not a gpointer.
This commit is contained in:
parent
8b0f6af06f
commit
e762446852
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* 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 <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* examples/pwg/Makefile.am:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue