check/gst/gstutils.c: New file.
authorAndy Wingo <wingo@pobox.com>
Wed, 21 Sep 2005 12:21:10 +0000 (12:21 +0000)
committerAndy Wingo <wingo@pobox.com>
Wed, 21 Sep 2005 12:21:10 +0000 (12:21 +0000)
commit5b77a67125cc1e0a753f4ed46d32689460b2e15c
tree3f494fdd507bdf524501a7a9e4149c6fdbf30781
parent9894c90109fb3ccf26e3a52ba9c1b2e765fb9649
check/gst/gstutils.c: New file.

Original commit message from CVS:
2005-09-21  Andy Wingo  <wingo@pobox.com>

* check/gst/gstutils.c: New file.
(test_buffer_probe_n_times): A simple buffer probe test. More to
come, foolios.

* gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
have-data::buffer, not have-data.
(gst_pad_add_event_probe): Likewise for have-data::event.
(gst_pad_add_data_probe): More docs. The part about 'resolving the
peer' isn't quite right yet though.
(gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
(gst_pad_remove_data_probe): Change to take the guint handler_id
as their arg, not the function+data, which is more glib-like.

* gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
the signal emission to indicate if the data is a buffer or an
event.
(gst_pad_get_type): Initialize buffer and event quarks.
(gst_pad_class_init): have-data is now a detailed signal, yes it
is.
check/Makefile.am
check/gst/gstutils.c [new file with mode: 0644]
docs/gst/tmpl/gstpad.sgml
docs/libs/tmpl/gstdataprotocol.sgml
gst/gstpad.c
gst/gstutils.c
gst/gstutils.h
tests/check/Makefile.am
tests/check/gst/gstutils.c [new file with mode: 0644]