summaryrefslogtreecommitdiff
path: root/plugins/elements/gstfakesink.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-05-27 09:27:35 +0000
committerAndy Wingo <wingo@pobox.com>2005-05-27 09:27:35 +0000
commit1457b69cb74abd975555408ed345528e6487928c (patch)
tree4dfe3a125b069cfb0e7c2c1f85edc877add9bcb8 /plugins/elements/gstfakesink.c
parent61167c9097945834fc4958c51c3374281c2a121c (diff)
gst/gstminiobject.c (gst_value_mini_object_collect): Use gst_value_set_mini_object so as to add a ref on the object (...
Original commit message from CVS: 2005-05-26 Andy Wingo <wingo@pobox.com> * gst/gstminiobject.c (gst_value_mini_object_collect): Use gst_value_set_mini_object so as to add a ref on the object (which will be removed when the value is unset). * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal arg type in ::handoff. * gst/gstelement.c (gst_element_change_state): Also deactivate pads in READY->NULL, just in case the element didn't make it to PAUSED. Wingo tested, Wim approved.
Diffstat (limited to 'plugins/elements/gstfakesink.c')
-rw-r--r--plugins/elements/gstfakesink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/elements/gstfakesink.c b/plugins/elements/gstfakesink.c
index a6887b402..1daa9cbe2 100644
--- a/plugins/elements/gstfakesink.c
+++ b/plugins/elements/gstfakesink.c
@@ -173,7 +173,7 @@ gst_fakesink_class_init (GstFakeSinkClass * klass)
g_signal_new ("handoff", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GstFakeSinkClass, handoff), NULL, NULL,
gst_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2,
- G_TYPE_OBJECT, GST_TYPE_PAD);
+ GST_TYPE_BUFFER, GST_TYPE_PAD);
gstelement_class->change_state =
GST_DEBUG_FUNCPTR (gst_fakesink_change_state);